|
libpsynth 0.2.1
|
Interface of a log sink. More...
#include <logger.hpp>

Public Member Functions | |
| virtual void | dump (log &log, int level, const std::string &msg)=0 |
| Deliver a message to the user. | |
Interface of a log sink.
A log sink is an object that implements how log messages are actually delivered to the user.
| virtual void psynth::base::log_sink::dump | ( | log & | log, |
| int | level, | ||
| const std::string & | msg | ||
| ) | [pure virtual] |
Deliver a message to the user.
| log | The log node that originated the message. |
| level | The relevance of the message. |
| msg | The message. |
Implemented in psynth::base::log_std_sink, and psynth::base::log_stream_sink.
1.7.4