A log is like a regular output stream, but it also supports messages at different priorities, see log_level. More...
#include <tpie/logstream.h>
Inherits std::ostream.
Public Member Functions | |
| logstream (log_level level=LOG_INFORMATIONAL) | |
| Constructor. More... | |
| void | add_target (log_target *t) |
| void | remove_target (log_target *t) |
A log is like a regular output stream, but it also supports messages at different priorities, see log_level.
Do not instantiate this class directly. Instead, use get_log() as well as helper methods log_fatal(), log_error(), log_info(), log_warning(), log_app_debug(), log_debug() and log_mem_debug().
Definition at line 84 of file logstream.h.
|
inline |
Constructor.
Definition at line 91 of file logstream.h.
|
inline |
Definition at line 97 of file logstream.h.
|
inline |
Definition at line 103 of file logstream.h.