ATLAS Offline Software
Macros
AthMsgStreamMacros.h File Reference
#include "CxxUtils/AthUnlikelyMacros.h"
Include dependency graph for AthMsgStreamMacros.h:

Go to the source code of this file.

Macros

#define ATH_MSG_LVL_NOCHK(lvl, x)   this->msg(lvl) << x << endmsg
 
#define ATH_MSG_LVL(lvl, x)
 
#define ATH_MSG_VERBOSE(x)   ATH_MSG_LVL(MSG::VERBOSE, x)
 
#define ATH_MSG_DEBUG(x)   ATH_MSG_LVL(MSG::DEBUG, x)
 
#define ATH_MSG_INFO(x)   ATH_MSG_LVL_NOCHK(MSG::INFO, x)
 
#define ATH_MSG_WARNING(x)   ATH_MSG_LVL_NOCHK(MSG::WARNING, x)
 
#define ATH_MSG_ERROR(x)   ATH_MSG_LVL_NOCHK(MSG::ERROR, x)
 
#define ATH_MSG_FATAL(x)   ATH_MSG_LVL_NOCHK(MSG::FATAL, x)
 
#define ATH_MSG_ALWAYS(x)   ATH_MSG_LVL_NOCHK(MSG::ALWAYS, x)
 
#define ATH_MSG(lvl)   if (this->msgLvl(MSG::lvl)) this->msg(MSG::lvl)
 

Macro Definition Documentation

◆ ATH_MSG

#define ATH_MSG (   lvl)    if (this->msgLvl(MSG::lvl)) this->msg(MSG::lvl)

Definition at line 39 of file AthMsgStreamMacros.h.

◆ ATH_MSG_ALWAYS

#define ATH_MSG_ALWAYS (   x)    ATH_MSG_LVL_NOCHK(MSG::ALWAYS, x)

Definition at line 36 of file AthMsgStreamMacros.h.

◆ ATH_MSG_DEBUG

#define ATH_MSG_DEBUG (   x)    ATH_MSG_LVL(MSG::DEBUG, x)

Definition at line 30 of file AthMsgStreamMacros.h.

◆ ATH_MSG_ERROR

#define ATH_MSG_ERROR (   x)    ATH_MSG_LVL_NOCHK(MSG::ERROR, x)

Definition at line 34 of file AthMsgStreamMacros.h.

◆ ATH_MSG_FATAL

#define ATH_MSG_FATAL (   x)    ATH_MSG_LVL_NOCHK(MSG::FATAL, x)

Definition at line 35 of file AthMsgStreamMacros.h.

◆ ATH_MSG_INFO

#define ATH_MSG_INFO (   x)    ATH_MSG_LVL_NOCHK(MSG::INFO, x)

Definition at line 32 of file AthMsgStreamMacros.h.

◆ ATH_MSG_LVL

#define ATH_MSG_LVL (   lvl,
  x 
)
Value:
do { \
if (ATH_UNLIKELY(this->msgLvl (lvl))) { \
ATH_MSG_LVL_NOCHK(lvl, x); \
} \
} while (0)

Definition at line 22 of file AthMsgStreamMacros.h.

◆ ATH_MSG_LVL_NOCHK

#define ATH_MSG_LVL_NOCHK (   lvl,
  x 
)    this->msg(lvl) << x << endmsg

Definition at line 19 of file AthMsgStreamMacros.h.

◆ ATH_MSG_VERBOSE

#define ATH_MSG_VERBOSE (   x)    ATH_MSG_LVL(MSG::VERBOSE, x)

Definition at line 29 of file AthMsgStreamMacros.h.

◆ ATH_MSG_WARNING

#define ATH_MSG_WARNING (   x)    ATH_MSG_LVL_NOCHK(MSG::WARNING, x)

Definition at line 33 of file AthMsgStreamMacros.h.

ATH_UNLIKELY
#define ATH_UNLIKELY(x)
Definition: AthUnlikelyMacros.h:17
x
#define x