ATLAS Offline Software
Functions
LogLevels.h File Reference
#include "Rivet/Tools/Logging.hh"
#include "GaudiKernel/IMessageSvc.h"
Include dependency graph for LogLevels.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Rivet::Log::Level rivetLevel (MSG::Level gaudiLevel)
 

Function Documentation

◆ rivetLevel()

Rivet::Log::Level rivetLevel ( MSG::Level  gaudiLevel)

Definition at line 21 of file LogLevels.h.

21  {
22 
23  switch(gaudiLevel){
24  case MSG::NIL :
25  return Rivet::Log::ERROR;
26  break;
27 
28  case MSG::VERBOSE :
29  return Rivet::Log::TRACE;
30  break;
31 
32  case MSG::DEBUG :
33  return Rivet::Log::DEBUG;
34  break;
35 
36  case MSG::INFO :
37  return Rivet::Log::INFO;
38  break;
39 
40  case MSG::WARNING :
41  return Rivet::Log::WARN;
42  break;
43 
44  case MSG::ERROR :
45  return Rivet::Log::ERROR;
46  break;
47 
48  case MSG::FATAL :
49  return Rivet::Log::ERROR;
50  break;
51 
52  case MSG::ALWAYS :
53  return Rivet::Log::TRACE;
54  break;
55 
56  default:
57  return Rivet::Log::INFO;
58  }
59  return Rivet::Log::INFO;
60 }
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.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