ATLAS Offline Software
Loading...
Searching...
No Matches
AthMsgStreamMacros.h File Reference
#include <format>
Include dependency graph for AthMsgStreamMacros.h:

Go to the source code of this file.

Macros

#define ATH_MSG_OPEN   (
#define ATH_MSG_CLOSE   )
#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 52 of file AthMsgStreamMacros.h.

52#define ATH_MSG(lvl) \
53 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 __VA_OPT__(, __VA_ARGS__))
#define ATH_MSG_LVL_NOCHK(lvl, x,...)
#define x

Definition at line 49 of file AthMsgStreamMacros.h.

◆ ATH_MSG_CLOSE

#define ATH_MSG_CLOSE   )

Definition at line 29 of file AthMsgStreamMacros.h.

◆ ATH_MSG_DEBUG

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

Definition at line 43 of file AthMsgStreamMacros.h.

◆ ATH_MSG_ERROR

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

Definition at line 47 of file AthMsgStreamMacros.h.

◆ ATH_MSG_FATAL

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

Definition at line 48 of file AthMsgStreamMacros.h.

◆ ATH_MSG_INFO

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

Definition at line 45 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 __VA_OPT__(, __VA_ARGS__)); \
} \
} while (0)
#define unlikely(x)

Definition at line 35 of file AthMsgStreamMacros.h.

35#define ATH_MSG_LVL(lvl, x, ...) \
36 do { \
37 if (this->msgLvl (lvl)) [[unlikely]] { \
38 ATH_MSG_LVL_NOCHK(lvl, x __VA_OPT__(, __VA_ARGS__)); \
39 } \
40 } while (0)

◆ ATH_MSG_LVL_NOCHK

#define ATH_MSG_LVL_NOCHK ( lvl,
x,
... )
Value:
this->msg(lvl) << __VA_OPT__(std::format ATH_MSG_OPEN ) x __VA_OPT__ (, __VA_ARGS__ ATH_MSG_CLOSE) << endmsg
#define endmsg
#define ATH_MSG_CLOSE
#define ATH_MSG_OPEN

Definition at line 32 of file AthMsgStreamMacros.h.

32#define ATH_MSG_LVL_NOCHK(lvl, x, ...) \
33 this->msg(lvl) << __VA_OPT__(std::format ATH_MSG_OPEN ) x __VA_OPT__ (, __VA_ARGS__ ATH_MSG_CLOSE) << endmsg

◆ ATH_MSG_OPEN

#define ATH_MSG_OPEN   (

Definition at line 28 of file AthMsgStreamMacros.h.

◆ ATH_MSG_VERBOSE

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

Definition at line 42 of file AthMsgStreamMacros.h.

◆ ATH_MSG_WARNING

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

Definition at line 46 of file AthMsgStreamMacros.h.