ATLAS Offline Software
|
Logging adaptor to provide interfaces required for ATH_MSG macros. More...
#include <Logger.h>
Public Member Functions | |
Logger ()=default | |
Logger (asg::AsgTool *logger) | |
MsgStream & | msg () const |
MsgStream & | msg (const MSG::Level lvl) const |
bool | msgLvl (const MSG::Level lvl) const |
Static Private Attributes | |
static asg::AsgTool *s_logger | ATLAS_THREAD_SAFE {nullptr} |
Logging adaptor to provide interfaces required for ATH_MSG macros.
TrigDecisionTool helper classes derive from this class to be able to use the usual ATH_MSG macros in their code. One has to ensure that one class in the hierarchy initializes the (static) Logger via the non-default constructor. All messaging then occurs via the actual messaging implementation of that class.
Note that while we are using asg::AsgTool as the logger type, in a full athena release, this is a direct descendent of AthAlgTool.
Definition at line 24 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
default |
|
inline |
Definition at line 27 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
inline |
Definition at line 29 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
inline |
Definition at line 33 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
inline |
Definition at line 34 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.
|
inlinestaticprivate |
Definition at line 38 of file Trigger/TrigAnalysis/TrigDecisionTool/TrigDecisionTool/Logger.h.