ATLAS Offline Software
MsgHelpers.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 
9 #ifndef ASG_MESSAGING__MESSAGE_HELPERS_H
10 #define ASG_MESSAGING__MESSAGE_HELPERS_H
11 
12 #ifdef XAOD_STANDALONE
13 #include <AsgMessaging/MsgStream.h>
14 #else
16 #endif
17 
18 namespace asg
19 {
29 
30  struct MsgHelpers final
31  {
42  static MsgStream& pkgMsgStream (const std::string& package);
43 
49  static void setPkgMsgLevel (const std::string& package, MSG::Level level);
50 
56  static void printAllPkgMsgLevels ();
57  };
58 }
59 
60 #endif
asg::MsgHelpers::printAllPkgMsgLevels
static void printAllPkgMsgLevels()
print all package message levels
Definition: MsgHelpers.cxx:103
asg
Definition: DataHandleTestTool.h:28
python.iconfTool.models.loaders.level
level
Definition: loaders.py:20
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
asg::MsgHelpers::setPkgMsgLevel
static void setPkgMsgLevel(const std::string &package, MSG::Level level)
set the package message level for the given name
Definition: MsgHelpers.cxx:94
AthMessaging.h
asg::MsgHelpers
a helper class for functions dealing with messages
Definition: MsgHelpers.h:31
asg::MsgHelpers::pkgMsgStream
static MsgStream & pkgMsgStream(const std::string &package)
the message stream for the given package identifier
Definition: MsgHelpers.cxx:71
MsgStream.h