A standard implementation of error_logger interface.
More...
A standard implementation of error_logger interface.
- Since
- v.5.5.0
◆ stderr_logger_t()
so_5::stderr_logger_t::stderr_logger_t |
( |
| ) |
|
|
inline |
◆ log()
void so_5::stderr_logger_t::log |
( |
const char * |
file_name, |
|
|
unsigned int |
line, |
|
|
const std::string & |
message |
|
) |
| |
|
overridevirtual |
A method for logging message.
- Note
- This method is not noexcept. It means that logger can throws, but in most cases logger is called in cases when the application is prepared to be aborted due to some fatal errors. In those cases an exception from log() will just terminate the application a bit earlier. In other cases exceptions thrown by log() will be ignored.
Implements so_5::error_logger_t.
The documentation for this class was generated from the following file: