feisty meow concerns codebase  2.140
basis::base_logger Class Referenceabstract

Provides an abstract base for logging mechanisms. More...

#include <contracts.h>

Inheritance diagram for basis::base_logger:
Collaboration diagram for basis::base_logger:

Public Member Functions

virtual outcome log (const base_string &info, int filter)=0
 writes the information in "info" to the logger using the "filter". More...
 

Detailed Description

Provides an abstract base for logging mechanisms.

Definition at line 69 of file contracts.h.

Member Function Documentation

◆ log()

virtual outcome basis::base_logger::log ( const base_string info,
int  filter 
)
pure virtual

writes the information in "info" to the logger using the "filter".

the derived class can interpret the filter appropriately and only show the "info" if the filter is enabled.

Implemented in loggers::file_logger, loggers::combo_logger, and loggers::console_logger.


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