feisty meow concerns codebase
2.140
|
Provides an abstract base for logging mechanisms. More...
#include <contracts.h>
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... | |
Provides an abstract base for logging mechanisms.
Definition at line 69 of file contracts.h.
|
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.