Go to the documentation of this file.
27 #ifndef __STUMPLESS_LEVEL_DEBUG_H
28 # define __STUMPLESS_LEVEL_DEBUG_H
32 # ifndef STUMPLESS_DISABLE_DEBUG_LEVEL
97 # ifdef STUMPLESS_DISABLE_DEBUG_LEVEL
98 # define stump_d( ... ) ( 0 )
100 # define stump_d( ... ) \
101 stumpless_add_log( stumpless_get_current_target( ), \
102 STUMPLESS_SEVERITY_DEBUG | STUMPLESS_DEFAULT_FACILITY, \
155 # ifdef STUMPLESS_DISABLE_DEBUG_LEVEL
156 # define stump_d_str( message ) ( 0 )
158 # define stump_d_str( message ) \
159 stumpless_add_log_str( stumpless_get_current_target( ), \
160 STUMPLESS_SEVERITY_DEBUG | STUMPLESS_DEFAULT_FACILITY, \
208 # ifdef STUMPLESS_DISABLE_DEBUG_LEVEL
209 # define stump_d_entry( target, entry ) ( 0 )
211 # define stump_d_entry( target, entry ) \
212 stumpless_add_entry( ( target ), ( entry ) )
273 # ifdef STUMPLESS_DISABLE_DEBUG_LEVEL
274 # define stump_d_log( target, priority, ... ) ( 0 )
276 # define stump_d_log( target, priority, ... ) \
277 stumpless_add_log( ( target ), ( priority ), __VA_ARGS__ )
329 # ifdef STUMPLESS_DISABLE_DEBUG_LEVEL
330 # define stump_d_log_str( target, priority, message ) ( 0 )
332 # define stump_d_log_str( target, priority, message ) \
333 stumpless_add_log_str( ( target ), ( priority ), ( message ) )
396 # ifdef STUMPLESS_DISABLE_DEBUG_LEVEL
397 # define stump_d_message( target, ... ) ( 0 )
399 # define stump_d_message( target, ... ) \
400 stumpless_add_log( ( target ), \
401 STUMPLESS_DEFAULT_FACILITY | STUMPLESS_SEVERITY_DEBUG, \
456 # ifdef STUMPLESS_DISABLE_DEBUG_LEVEL
457 # define stump_d_message_str( target, message ) ( 0 )
459 # define stump_d_message_str( target, message ) \
460 stumpless_add_log_str( ( target ), \
461 STUMPLESS_DEFAULT_FACILITY | STUMPLESS_SEVERITY_DEBUG, \
515 # ifdef STUMPLESS_DISABLE_DEBUG_LEVEL
516 # define stumplog_d( priority, ... ) ( ( void ) 0 )
518 # define stumplog_d( priority, ... ) stumplog( ( priority ), __VA_ARGS__ )
562 # ifdef STUMPLESS_DISABLE_DEBUG_LEVEL
563 # define stumplog_d_str( priority, message ) ( ( void ) 0 )
565 # define stumplog_d_str( priority, message ) \
566 stumplog_str( ( priority ), ( message ) )