Go to the documentation of this file.
27 #ifndef __STUMPLESS_LEVEL_INFO_H
28 # define __STUMPLESS_LEVEL_INFO_H
32 # ifndef STUMPLESS_DISABLE_INFO_LEVEL
97 # ifdef STUMPLESS_DISABLE_INFO_LEVEL
98 # define stump_i( ... ) ( 0 )
100 # define stump_i( ... ) \
101 stumpless_add_log( stumpless_get_current_target( ), \
102 STUMPLESS_SEVERITY_INFO | STUMPLESS_DEFAULT_FACILITY, \
155 # ifdef STUMPLESS_DISABLE_INFO_LEVEL
156 # define stump_i_str( message ) ( 0 )
158 # define stump_i_str( message ) \
159 stumpless_add_log_str( stumpless_get_current_target( ), \
160 STUMPLESS_SEVERITY_INFO | STUMPLESS_DEFAULT_FACILITY, \
207 # ifdef STUMPLESS_DISABLE_INFO_LEVEL
208 # define stump_i_entry( target, entry ) ( 0 )
210 # define stump_i_entry( target, entry ) \
211 stumpless_add_entry( ( target ), ( entry ) )
271 # ifdef STUMPLESS_DISABLE_INFO_LEVEL
272 # define stump_i_log( target, priority, ... ) ( 0 )
274 # define stump_i_log( target, priority, ... ) \
275 stumpless_add_log( ( target ), ( priority ), __VA_ARGS__ )
326 # ifdef STUMPLESS_DISABLE_INFO_LEVEL
327 # define stump_i_log_str( target, priority, message ) ( 0 )
329 # define stump_i_log_str( target, priority, message ) \
330 stumpless_add_log_str( ( target ), ( priority ), ( message ) )
393 # ifdef STUMPLESS_DISABLE_INFO_LEVEL
394 # define stump_i_message( target, ... ) ( 0 )
396 # define stump_i_message( target, ... ) \
397 stumpless_add_log( ( target ), \
398 STUMPLESS_DEFAULT_FACILITY | STUMPLESS_SEVERITY_INFO, \
453 # ifdef STUMPLESS_DISABLE_INFO_LEVEL
454 # define stump_i_message_str( target, message ) ( 0 )
456 # define stump_i_message_str( target, message ) \
457 stumpless_add_log_str( ( target ), \
458 STUMPLESS_DEFAULT_FACILITY | STUMPLESS_SEVERITY_INFO, \
511 # ifdef STUMPLESS_DISABLE_INFO_LEVEL
512 # define stumplog_i( priority, ... ) ( ( void ) 0 )
514 # define stumplog_i( priority, ... ) stumplog( ( priority ), __VA_ARGS__ )
557 # ifdef STUMPLESS_DISABLE_INFO_LEVEL
558 # define stumplog_i_str( priority, message ) ( ( void ) 0 )
560 # define stumplog_i_str( priority, message ) \
561 stumplog_str( ( priority ), ( message ) )