|
tlx
|
Class to hook logger output in the local thread. More...
#include <core.hpp>
Public Member Functions | |
| LoggerCollectOutput (bool echo=false) | |
| ~LoggerCollectOutput () | |
| std::string | get () |
| return transcript of log More... | |
| void | clear () |
| clear transcript More... | |
| void | append_log_line (const std::string &line) final |
| method the receive log lines More... | |
Public Member Functions inherited from LoggerOutputHook | |
| virtual | ~LoggerOutputHook () |
| virtual destructor More... | |
Protected Attributes | |
| LoggerOutputHook * | next_ |
| previous logger, will be restored by destructor More... | |
| bool | echo_ |
| whether to echo each line to next logger output More... | |
| std::ostringstream | oss_ |
| string stream collecting More... | |
|
explicit |
| ~LoggerCollectOutput | ( | ) |
|
finalvirtual |
|
protected |
|
protected |