ATLAS Offline Software
Public Member Functions | List of all members
RootUtils::ILogger Class Referenceabstract

Very simple interface for writing log messages. More...

#include <ILogger.h>

Inheritance diagram for RootUtils::ILogger:
Collaboration diagram for RootUtils::ILogger:

Public Member Functions

virtual ~ILogger ()
 Make the destructor virtual. More...
 
virtual void debug (const char *msg)=0
 Log a debugging message. More...
 
virtual void error (const char *msg)=0
 Log an error message. More...
 

Detailed Description

Very simple interface for writing log messages.

In a few places, we want to be able to generate logging messages, but we also want to avoid dependencies on Gaudi. This interface can be used in such cases.

The RootUtils::PyLogger class is a concrete implementation of this that calls back to Python code.

Definition at line 33 of file ILogger.h.

Constructor & Destructor Documentation

◆ ~ILogger()

virtual RootUtils::ILogger::~ILogger ( )
inlinevirtual

Make the destructor virtual.

Definition at line 37 of file ILogger.h.

37 {}

Member Function Documentation

◆ debug()

virtual void RootUtils::ILogger::debug ( const char *  msg)
pure virtual

Log a debugging message.

Parameters
msgThe message to log.

Implemented in DataModelCompatSvc, and RootUtils::PyLogger.

◆ error()

virtual void RootUtils::ILogger::error ( const char *  msg)
pure virtual

Log an error message.

Parameters
msgThe message to log.

Implemented in DataModelCompatSvc, and RootUtils::PyLogger.


The documentation for this class was generated from the following file: