Macros
convenience.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LOG4CPP_ALERT(logger, msg)   if (logger.isAlertEnabled()) logger.alert( msg );
 
#define LOG4CPP_ALERT_S(logger)   if (logger.isAlertEnabled()) logger.alertStream()
 
#define LOG4CPP_ALERT_SD()   if (logger.isAlertEnabled()) logger.alertStream()
 
#define LOG4CPP_CRIT(logger, msg)   if (logger.isCritEnabled()) logger.crit( msg );
 
#define LOG4CPP_CRIT_S(logger)   if (logger.isCritEnabled()) logger.critStream()
 
#define LOG4CPP_CRIT_SD()   if (logger.isCritEnabled()) logger.critStream()
 
#define LOG4CPP_DEBUG(logger, msg)   if (logger.isDebugEnabled()) logger.debug( msg );
 
#define LOG4CPP_DEBUG_S(logger)   if (logger.isDebugEnabled()) logger.debugStream()
 
#define LOG4CPP_DEBUG_SD()   if (logger.isDebugEnabled()) logger.debugStream()
 
#define LOG4CPP_EMERG(logger, msg)   if (logger.isEmergEnabled()) logger.emerg( msg );
 
#define LOG4CPP_EMERG_S(logger)   if (logger.isEmergEnabled()) logger.emergStream()
 
#define LOG4CPP_EMERG_SD()   if (logger.isEmergEnabled()) logger.emergStream()
 
#define LOG4CPP_ERROR(logger, msg)   if (logger.isErrorEnabled()) logger.error( msg );
 
#define LOG4CPP_ERROR_S(logger)   if (logger.isErrorEnabled()) logger.errorStream()
 
#define LOG4CPP_ERROR_SD()   if (logger.isErrorEnabled()) logger.errorStream()
 
#define LOG4CPP_FATAL(logger, msg)   if (logger.isFatalEnabled()) logger.fatal( msg );
 
#define LOG4CPP_FATAL_S(logger)   if (logger.isFatalEnabled()) logger.fatalStream()
 
#define LOG4CPP_FATAL_SD()   if (logger.isFatalEnabled()) logger.fatalStream()
 
#define LOG4CPP_INFO(logger, msg)   if (logger.isInfoEnabled()) logger.info( msg );
 
#define LOG4CPP_INFO_S(logger)   if (logger.isInfoEnabled()) logger.infoStream()
 
#define LOG4CPP_INFO_SD()   if (logger.isInfoEnabled()) logger.infoStream()
 
#define LOG4CPP_LOGGER(name)   static log4cpp::Category& logger = log4cpp::Category::getInstance( name );
 
#define LOG4CPP_LOGGER_N(var_name, name)   static log4cpp::Category& var_name = log4cpp::Category::getInstance( name );
 
#define LOG4CPP_NOTICE(logger, msg)   if (logger.isNoticeEnabled()) logger.notice( msg );
 
#define LOG4CPP_NOTICE_S(logger)   if (logger.isNoticeEnabled()) logger.noticeStream()
 
#define LOG4CPP_NOTICE_SD()   if (logger.isNoticeEnabled()) logger.noticeStream()
 
#define LOG4CPP_WARN(logger, msg)   if (logger.isWarnEnabled()) logger.warn( msg );
 
#define LOG4CPP_WARN_S(logger)   if (logger.isWarnEnabled()) logger.warnStream()
 
#define LOG4CPP_WARN_SD()   if (logger.isWarnEnabled()) logger.warnStream()
 

Macro Definition Documentation

#define LOG4CPP_ALERT (   logger,
  msg 
)    if (logger.isAlertEnabled()) logger.alert( msg );

Definition at line 24 of file convenience.h.

#define LOG4CPP_ALERT_S (   logger)    if (logger.isAlertEnabled()) logger.alertStream()

Definition at line 53 of file convenience.h.

#define LOG4CPP_ALERT_SD ( )    if (logger.isAlertEnabled()) logger.alertStream()

Definition at line 82 of file convenience.h.

#define LOG4CPP_CRIT (   logger,
  msg 
)    if (logger.isCritEnabled()) logger.crit( msg );

Definition at line 27 of file convenience.h.

#define LOG4CPP_CRIT_S (   logger)    if (logger.isCritEnabled()) logger.critStream()

Definition at line 56 of file convenience.h.

#define LOG4CPP_CRIT_SD ( )    if (logger.isCritEnabled()) logger.critStream()

Definition at line 85 of file convenience.h.

#define LOG4CPP_DEBUG (   logger,
  msg 
)    if (logger.isDebugEnabled()) logger.debug( msg );

Definition at line 42 of file convenience.h.

#define LOG4CPP_DEBUG_S (   logger)    if (logger.isDebugEnabled()) logger.debugStream()

Definition at line 71 of file convenience.h.

#define LOG4CPP_DEBUG_SD ( )    if (logger.isDebugEnabled()) logger.debugStream()

Definition at line 100 of file convenience.h.

#define LOG4CPP_EMERG (   logger,
  msg 
)    if (logger.isEmergEnabled()) logger.emerg( msg );

Definition at line 18 of file convenience.h.

#define LOG4CPP_EMERG_S (   logger)    if (logger.isEmergEnabled()) logger.emergStream()

Definition at line 47 of file convenience.h.

#define LOG4CPP_EMERG_SD ( )    if (logger.isEmergEnabled()) logger.emergStream()

Definition at line 76 of file convenience.h.

#define LOG4CPP_ERROR (   logger,
  msg 
)    if (logger.isErrorEnabled()) logger.error( msg );

Definition at line 30 of file convenience.h.

#define LOG4CPP_ERROR_S (   logger)    if (logger.isErrorEnabled()) logger.errorStream()

Definition at line 59 of file convenience.h.

#define LOG4CPP_ERROR_SD ( )    if (logger.isErrorEnabled()) logger.errorStream()

Definition at line 88 of file convenience.h.

#define LOG4CPP_FATAL (   logger,
  msg 
)    if (logger.isFatalEnabled()) logger.fatal( msg );

Definition at line 21 of file convenience.h.

#define LOG4CPP_FATAL_S (   logger)    if (logger.isFatalEnabled()) logger.fatalStream()

Definition at line 50 of file convenience.h.

#define LOG4CPP_FATAL_SD ( )    if (logger.isFatalEnabled()) logger.fatalStream()

Definition at line 79 of file convenience.h.

#define LOG4CPP_INFO (   logger,
  msg 
)    if (logger.isInfoEnabled()) logger.info( msg );

Definition at line 39 of file convenience.h.

#define LOG4CPP_INFO_S (   logger)    if (logger.isInfoEnabled()) logger.infoStream()

Definition at line 68 of file convenience.h.

#define LOG4CPP_INFO_SD ( )    if (logger.isInfoEnabled()) logger.infoStream()

Definition at line 97 of file convenience.h.

#define LOG4CPP_LOGGER (   name)    static log4cpp::Category& logger = log4cpp::Category::getInstance( name );

Definition at line 11 of file convenience.h.

#define LOG4CPP_LOGGER_N (   var_name,
  name 
)    static log4cpp::Category& var_name = log4cpp::Category::getInstance( name );

Definition at line 14 of file convenience.h.

#define LOG4CPP_NOTICE (   logger,
  msg 
)    if (logger.isNoticeEnabled()) logger.notice( msg );

Definition at line 36 of file convenience.h.

#define LOG4CPP_NOTICE_S (   logger)    if (logger.isNoticeEnabled()) logger.noticeStream()

Definition at line 65 of file convenience.h.

#define LOG4CPP_NOTICE_SD ( )    if (logger.isNoticeEnabled()) logger.noticeStream()

Definition at line 94 of file convenience.h.

#define LOG4CPP_WARN (   logger,
  msg 
)    if (logger.isWarnEnabled()) logger.warn( msg );

Definition at line 33 of file convenience.h.

#define LOG4CPP_WARN_S (   logger)    if (logger.isWarnEnabled()) logger.warnStream()

Definition at line 62 of file convenience.h.

#define LOG4CPP_WARN_SD ( )    if (logger.isWarnEnabled()) logger.warnStream()

Definition at line 91 of file convenience.h.



log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Jun 23 2019 19:10:00