Class to hook logger output in the local thread.
More...
#include <core.hpp>
|
| LoggerOutputHook * | next_ |
| | previous logger, will be restored by destructor
|
| bool | echo_ |
| | whether to echo each line to next logger output
|
| std::ostringstream | oss_ |
| | string stream collecting
|
Class to hook logger output in the local thread.
Definition at line 201 of file core.hpp.
◆ LoggerCollectOutput()
| LoggerCollectOutput |
( |
bool | echo = false | ) |
|
|
explicit |
◆ ~LoggerCollectOutput()
◆ append_log_line()
| void append_log_line |
( |
const std::string & | line | ) |
|
|
finalvirtual |
◆ clear()
clear transcript
Definition at line 128 of file core.cpp.
◆ get()
return transcript of log
Definition at line 132 of file core.cpp.
◆ echo_
whether to echo each line to next logger output
Definition at line 221 of file core.hpp.
◆ next_
previous logger, will be restored by destructor
Definition at line 218 of file core.hpp.
◆ oss_
string stream collecting
Definition at line 224 of file core.hpp.
The documentation for this class was generated from the following files: