ATLAS Offline Software
Loading...
Searching...
No Matches
MsgLevel.cxx File Reference
Include dependency graph for MsgLevel.cxx:

Go to the source code of this file.

Namespaces

namespace  MSG

Macros

#define DECLARE_LEVEL(NAME)
 Helper macro for constructing the function's code.

Functions

const std::string & MSG::name (Level lvl)
 Convenience function for translating message levels to strings.

Macro Definition Documentation

◆ DECLARE_LEVEL

#define DECLARE_LEVEL ( NAME)
Value:
case MSG::NAME: \
{ \
static const std::string name( #NAME ); \
return name; \
} \
break

Helper macro for constructing the function's code.

Definition at line 9 of file MsgLevel.cxx.

9#define DECLARE_LEVEL( NAME ) \
10 case MSG::NAME: \
11 { \
12 static const std::string name( #NAME ); \
13 return name; \
14 } \
15 break