ATLAS Offline Software
Loading...
Searching...
No Matches
AthMsgStreamMacros.h File Reference

Go to the source code of this file.

Macros

#define ATH_MSG_LVL_NOCHK(lvl, x)
#define ATH_MSG_LVL(lvl, x)
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_DEBUG(x)
#define ATH_MSG_INFO(x)
#define ATH_MSG_WARNING(x)
#define ATH_MSG_ERROR(x)
#define ATH_MSG_FATAL(x)
#define ATH_MSG_ALWAYS(x)
#define ATH_MSG(lvl)

Macro Definition Documentation

◆ ATH_MSG

#define ATH_MSG ( lvl)
Value:
if (this->msgLvl(MSG::lvl)) this->msg(MSG::lvl)
MsgStream & msg
Definition testRead.cxx:32

Definition at line 37 of file AthMsgStreamMacros.h.

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

◆ ATH_MSG_ALWAYS

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

Definition at line 34 of file AthMsgStreamMacros.h.

◆ ATH_MSG_DEBUG

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

Definition at line 28 of file AthMsgStreamMacros.h.

◆ ATH_MSG_ERROR

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

Definition at line 32 of file AthMsgStreamMacros.h.

◆ ATH_MSG_FATAL

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

Definition at line 33 of file AthMsgStreamMacros.h.

◆ ATH_MSG_INFO

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

Definition at line 30 of file AthMsgStreamMacros.h.

◆ ATH_MSG_LVL

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

Definition at line 20 of file AthMsgStreamMacros.h.

20#define ATH_MSG_LVL(lvl, x) \
21 do { \
22 if (this->msgLvl (lvl)) [[unlikely]] { \
23 ATH_MSG_LVL_NOCHK(lvl, x); \
24 } \
25 } while (0)

◆ ATH_MSG_LVL_NOCHK

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

Definition at line 17 of file AthMsgStreamMacros.h.

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

◆ ATH_MSG_VERBOSE

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

Definition at line 27 of file AthMsgStreamMacros.h.

◆ ATH_MSG_WARNING

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

Definition at line 31 of file AthMsgStreamMacros.h.