ATLAS Offline Software
ILogger.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id: ILogger.h,v 1.1 2007-12-15 07:01:00 ssnyder Exp $
8 
16 #ifndef ROOTUTILS_ILOGGER_H
17 #define ROOTUTILS_ILOGGER_H
18 
19 
20 namespace RootUtils {
21 
22 
33 class ILogger
34 {
35 public:
37  virtual ~ILogger() {}
38 
39 
44  virtual void debug (const char* msg) = 0;
45 
46 
51  virtual void error (const char* msg) = 0;
52 };
53 
54 
55 } // namespace RootUtils
56 
57 
58 #endif // not ROOTUTILS_ILOGGER_H
RootUtils
Definition: ILogger.h:20
RootUtils::ILogger::~ILogger
virtual ~ILogger()
Make the destructor virtual.
Definition: ILogger.h:37
RootUtils::ILogger::debug
virtual void debug(const char *msg)=0
Log a debugging message.
RootUtils::ILogger
Very simple interface for writing log messages.
Definition: ILogger.h:34
RootUtils::ILogger::error
virtual void error(const char *msg)=0
Log an error message.
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7