ATLAS Offline Software
Loading...
Searching...
No Matches
SGMsgStreamMacros.h File Reference
#include "GaudiKernel/MsgStream.h"
Include dependency graph for SGMsgStreamMacros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SG_MSG_OPEN   (
#define SG_MSG_CLOSE   )
#define SG_MSG_LVL(lvl, x, ...)
#define SG_MSG_VERBOSE(x, ...)
#define SG_MSG_DEBUG(x, ...)
#define SG_MSG_INFO(x, ...)
#define SG_MSG_WARNING(x, ...)
#define SG_MSG_ERROR(x, ...)
#define SG_MSG_FATAL(x, ...)

Macro Definition Documentation

◆ SG_MSG_CLOSE

#define SG_MSG_CLOSE   )

Definition at line 22 of file SGMsgStreamMacros.h.

◆ SG_MSG_DEBUG

#define SG_MSG_DEBUG ( x,
... )
Value:
SG_MSG_LVL(MSG::DEBUG, x __VA_OPT__(, __VA_ARGS__))
#define SG_MSG_LVL(lvl, x,...)
#define x

Definition at line 31 of file SGMsgStreamMacros.h.

◆ SG_MSG_ERROR

#define SG_MSG_ERROR ( x,
... )
Value:
SG_MSG_LVL(MSG::ERROR, x __VA_OPT__(, __VA_ARGS__))

Definition at line 34 of file SGMsgStreamMacros.h.

◆ SG_MSG_FATAL

#define SG_MSG_FATAL ( x,
... )
Value:
SG_MSG_LVL(MSG::FATAL, x __VA_OPT__(, __VA_ARGS__))

Definition at line 35 of file SGMsgStreamMacros.h.

◆ SG_MSG_INFO

#define SG_MSG_INFO ( x,
... )
Value:
SG_MSG_LVL(MSG::INFO, x __VA_OPT__(, __VA_ARGS__))

Definition at line 32 of file SGMsgStreamMacros.h.

◆ SG_MSG_LVL

#define SG_MSG_LVL ( lvl,
x,
... )
Value:
do { \
if (msgLevel(lvl)) { \
msgStream(lvl) << __VA_OPT__(std::format SG_MSG_OPEN ) x __VA_OPT__ (, __VA_ARGS__ SG_MSG_CLOSE) << endmsg; \
} \
} while (0)
#define endmsg
#define SG_MSG_OPEN
#define SG_MSG_CLOSE

Definition at line 23 of file SGMsgStreamMacros.h.

23#define SG_MSG_LVL(lvl, x, ...) \
24 do { \
25 if (msgLevel(lvl)) { \
26 msgStream(lvl) << __VA_OPT__(std::format SG_MSG_OPEN ) x __VA_OPT__ (, __VA_ARGS__ SG_MSG_CLOSE) << endmsg; \
27 } \
28 } while (0)

◆ SG_MSG_OPEN

#define SG_MSG_OPEN   (

Definition at line 21 of file SGMsgStreamMacros.h.

◆ SG_MSG_VERBOSE

#define SG_MSG_VERBOSE ( x,
... )
Value:
SG_MSG_LVL(MSG::VERBOSE, x __VA_OPT__(, __VA_ARGS__))

Definition at line 30 of file SGMsgStreamMacros.h.

◆ SG_MSG_WARNING

#define SG_MSG_WARNING ( x,
... )
Value:
SG_MSG_LVL(MSG::WARNING, x __VA_OPT__(, __VA_ARGS__))

Definition at line 33 of file SGMsgStreamMacros.h.