ATLAS Offline Software
Loading...
Searching...
No Matches
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
15
16#ifndef ROOTUTILS_ILOGGER_H
17#define ROOTUTILS_ILOGGER_H
18
19
20namespace RootUtils {
21
22
34{
35public:
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
Very simple interface for writing log messages.
Definition ILogger.h:34
virtual ~ILogger()
Make the destructor virtual.
Definition ILogger.h:37
virtual void debug(const char *msg)=0
Log a debugging message.
virtual void error(const char *msg)=0
Log an error message.
MsgStream & msg
Definition testRead.cxx:32