Peano
TP::logger Struct Referenceabstract

By inheriting this class, you can do something with output if you need. More...

#include <TP_Logging.h>

Inheritance diagram for TP::logger:

Public Member Functions

virtual void log (const std::string &msg)=0
 
virtual void error (const std::string &msg)=0
 
virtual void info (const std::string &msg)=0
 
virtual void warn (const std::string &msg)=0
 

Detailed Description

By inheriting this class, you can do something with output if you need.

Parameters
msgIs some (probably multiline) message
codeposIs the line and file, as created by the macros in logging.h. Can be the empty string.

Definition at line 20 of file TP_Logging.h.

Member Function Documentation

◆ error()

virtual void TP::logger::error ( const std::string &  msg)
pure virtual

Implemented in TP::std_cerr_logger.

Referenced by TP::LoggingAdapter::TP_ERROR().

Here is the caller graph for this function:

◆ info()

virtual void TP::logger::info ( const std::string &  msg)
pure virtual

Implemented in TP::std_cerr_logger.

Referenced by TP::LoggingAdapter::TP_INFO().

Here is the caller graph for this function:

◆ log()

virtual void TP::logger::log ( const std::string &  msg)
pure virtual

Implemented in TP::std_cerr_logger.

Referenced by TP::LoggingAdapter::TP_LOG().

Here is the caller graph for this function:

◆ warn()

virtual void TP::logger::warn ( const std::string &  msg)
pure virtual

Implemented in TP::std_cerr_logger.

Referenced by TP::LoggingAdapter::TP_WARN().

Here is the caller graph for this function:

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