CppCMS
|
This is the abstract interface to general sink - the consumer of the logged messages. More...
#include <booster/booster/log.h>
Public Member Functions | |
virtual void | log (message const &m)=0 |
This is the abstract interface to general sink - the consumer of the logged messages.
virtual void booster::log::sink::log | ( | message const & | m | ) | [pure virtual] |
Send the message m to log
Note: it does not have to be thread safe - in terms that only one message is sent each time and it is promised that are not sent in parallel
Implemented in booster::log::sinks::file, and booster::log::sinks::standard_error.