Changeset 1042 for pjproject/trunk/pjlib/include/pj/log.h
- Timestamp:
- Mar 5, 2007 9:08:01 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/include/pj/log.h
r974 r1042 99 99 * @hideinitializer 100 100 */ 101 #define PJ_LOG(level,arg) pj_log_wrapper_##level(arg) 101 #define PJ_LOG(level,arg) do { \ 102 if (level <= pj_log_get_level()) \ 103 pj_log_wrapper_##level(arg); \ 104 } while (0) 102 105 103 106 /** … … 172 175 * @return Current log maximum level. 173 176 */ 177 #if 0 174 178 PJ_DECL(int) pj_log_get_level(void); 179 #else 180 PJ_DECL(int) pj_log_max_level; 181 #define pj_log_get_level() pj_log_max_level 182 #endif 175 183 176 184 /**
Note: See TracChangeset
for help on using the changeset viewer.