ATLAS Offline Software
Classes | Functions
MSG Namespace Reference

Classes

struct  DummyStruct
 This struct is here only to make the dictionary generation for types in the MSG namespace successful. More...
 

Functions

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

Function Documentation

◆ name()

const std::string & MSG::name ( Level  lvl)

Convenience function for translating message levels to strings.

Definition at line 19 of file MsgLevel.cxx.

19  {
20 
21  switch( lvl ) {
22  DECLARE_LEVEL( NIL );
30  default:
31  static const std::string dummy( "<unknown>" );
32  return dummy;
33  break;
34  }
35  }
DECLARE_LEVEL
#define DECLARE_LEVEL(NAME)
Helper macro for constructing the function's code.
Definition: MsgLevel.cxx:9
python.Constants.FATAL
int FATAL
Definition: Control/AthenaCommon/python/Constants.py:19
python.Constants.ERROR
int ERROR
Definition: Control/AthenaCommon/python/Constants.py:18
TrigConf::MSGTC::ALWAYS
@ ALWAYS
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:29
python.xAODType.dummy
dummy
Definition: xAODType.py:4
python.Constants.WARNING
int WARNING
Definition: Control/AthenaCommon/python/Constants.py:17
python.Constants.INFO
int INFO
Definition: Control/AthenaCommon/python/Constants.py:16
DEBUG
#define DEBUG
Definition: page_access.h:11
python.Constants.VERBOSE
int VERBOSE
Definition: Control/AthenaCommon/python/Constants.py:14
TrigConf::MSGTC::NIL
@ NIL
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:22