Go to the documentation of this file.
27 #ifndef __STUMPLESS_LEVEL_NOTICE_H
28 # define __STUMPLESS_LEVEL_NOTICE_H
32 # ifndef STUMPLESS_DISABLE_NOTICE_LEVEL
97 # ifdef STUMPLESS_DISABLE_NOTICE_LEVEL
98 # define stump_n( ... ) ( 0 )
100 # define stump_n( ... ) \
101 stumpless_add_log( stumpless_get_current_target( ), \
102 STUMPLESS_SEVERITY_NOTICE | STUMPLESS_DEFAULT_FACILITY, \
155 # ifdef STUMPLESS_DISABLE_NOTICE_LEVEL
156 # define stump_n_str( message ) ( 0 )
158 # define stump_n_str( message ) \
159 stumpless_add_log_str( stumpless_get_current_target( ), \
160 STUMPLESS_SEVERITY_NOTICE | STUMPLESS_DEFAULT_FACILITY, \
208 # ifdef STUMPLESS_DISABLE_NOTICE_LEVEL
209 # define stump_n_entry( target, entry ) ( 0 )
211 # define stump_n_entry( target, entry ) \
212 stumpless_add_entry( ( target ), ( entry ) )
273 # ifdef STUMPLESS_DISABLE_NOTICE_LEVEL
274 # define stump_n_log( target, priority, ... ) ( 0 )
276 # define stump_n_log( target, priority, ... ) \
277 stumpless_add_log( ( target ), ( priority ), __VA_ARGS__ )
329 # ifdef STUMPLESS_DISABLE_NOTICE_LEVEL
330 # define stump_n_log_str( target, priority, message ) ( 0 )
332 # define stump_n_log_str( target, priority, message ) \
333 stumpless_add_log_str( ( target ), ( priority ), ( message ) )
396 # ifdef STUMPLESS_DISABLE_NOTICE_LEVEL
397 # define stump_n_message( target, ... ) ( 0 )
399 # define stump_n_message( target, ... ) \
400 stumpless_add_log( ( target ), \
401 STUMPLESS_DEFAULT_FACILITY | STUMPLESS_SEVERITY_NOTICE, \
456 # ifdef STUMPLESS_DISABLE_NOTICE_LEVEL
457 # define stump_n_message_str( target, message ) ( 0 )
459 # define stump_n_message_str( target, message ) \
460 stumpless_add_log_str( ( target ), \
461 STUMPLESS_DEFAULT_FACILITY | STUMPLESS_SEVERITY_NOTICE, \
515 # ifdef STUMPLESS_DISABLE_NOTICE_LEVEL
516 # define stumplog_n( priority, ... ) ( ( void ) 0 )
518 # define stumplog_n( priority, ... ) \
519 stumplog( ( priority ), __VA_ARGS__ )
563 # ifdef STUMPLESS_DISABLE_NOTICE_LEVEL
564 # define stumplog_n_str( priority, message ) ( ( void ) 0 )
566 # define stumplog_n_str( priority, message ) \
567 stumplog_str( ( priority ), ( message ) )