ATLAS Offline Software
Loading...
Searching...
No Matches
MsgLevel.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
11
12#ifndef ASGMESSAGING_MSGLEVEL_H
13#define ASGMESSAGING_MSGLEVEL_H
14
15// System include(s):
16#include <string>
17
18// Local include(s):
19
20// Pull in the definition from Gaudi in Athena:
21#ifndef XAOD_STANDALONE
22# include "GaudiKernel/IMessageSvc.h"
23#endif
24
25// Not sure why this is needed...
26#undef ERROR
27
28namespace MSG {
29
30#ifdef XAOD_STANDALONE
31
33 enum Level {
34 NIL = 0,
35 VERBOSE,
36 DEBUG,
37 INFO,
38 WARNING,
39 ERROR,
40 FATAL,
41 ALWAYS,
42 NUM_LEVELS
43 }; // enum Level
44
45#endif // XAOD_STANDALONE
46
48 const std::string& name( Level lvl );
49
52 struct DummyStruct {};
53
54} // end namespace MSG
55
56#endif // ASGMESSAGING_MSGLEVEL_H
Definition MsgLevel.h:28
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
Definition MsgLevel.cxx:19
#define DEBUG
Definition page_access.h:11
This struct is here only to make the dictionary generation for types in the MSG namespace successful.
Definition MsgLevel.h:52