API New Year  1.0
API for the project ZIA, EPITECH 2017.
ApiNewYear::ILogger Class Referenceabstract

Base class representing access to the server Logger. More...

#include <ILogger.h>

Collaboration diagram for ApiNewYear::ILogger:
Collaboration graph

Public Member Functions

virtual void info (const std::string &message) const =0
 Output information to stream. More...
 
virtual void warn (const std::string &message) const =0
 Output warning to stream. More...
 
virtual void error (const std::string &message) const =0
 Output error to stream. More...
 
virtual void fatal (const std::string &message) const =0
 Output fatal error to stream. More...
 

Detailed Description

Base class representing access to the server Logger.

Establishes the base architecture for all interactions with logging of either server-wide events, or module-specific events.

Member Function Documentation

virtual void ApiNewYear::ILogger::error ( const std::string &  message) const
pure virtual

Output error to stream.

ILogger appends an error to a stream.

Parameters
messagea string representing the information.
virtual void ApiNewYear::ILogger::fatal ( const std::string &  message) const
pure virtual

Output fatal error to stream.

ILogger appends a fatal error to a stream.

Parameters
messagea string representing the information.
virtual void ApiNewYear::ILogger::info ( const std::string &  message) const
pure virtual

Output information to stream.

ILogger appends information to a stream.

Parameters
messagea string representing the information.
virtual void ApiNewYear::ILogger::warn ( const std::string &  message) const
pure virtual

Output warning to stream.

ILogger appends a warning to a stream.

Parameters
messagea string representing the information.

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