|
libpsynth 0.2.1
|
Simple log sink that logs messages to cout and cerr.
More...
#include <logger.hpp>


Public Member Functions | |
| void | dump (log &l, int level, const std::string &msg) |
| Dums a message to the standard output. | |
Simple log sink that logs messages to cout and cerr.
The messages will look like this: [log_node_name] MSG_LEVEL : Message.
Messages with relevales less or equal to INFO will be dumped to cout and others to cerr.
| void psynth::base::log_std_sink::dump | ( | log & | l, |
| int | level, | ||
| const std::string & | msg | ||
| ) | [inline, virtual] |
Dums a message to the standard output.
| log | The log that originated the message. |
| level | The relevance of the message. |
| msg | The message to dump. |
Implements psynth::base::log_sink.
1.7.4