Thrill
0.1
|
A logging class which outputs spaces between elements pushed via operator<<.
Depending on the real parameter the output may be suppressed.
#include <core.hpp>
Public Member Functions | |
SpacingLogger () | |
construction: add prefix if desired More... | |
~SpacingLogger () | |
destructor: output a newline More... | |
template<typename AnyType > | |
SpacingLogger & | operator<< (const AnyType &at) |
output any type, including io manipulators More... | |
Private Attributes | |
bool | first_ = true |
true until the first element it outputted. More... | |
std::ostringstream | oss_ |
collector stream More... | |
SpacingLogger | ( | ) |
construction: add prefix if desired
Definition at line 97 of file core.cpp.
References LoggerPrefixHook::add_log_prefix(), and tlx::s_logger_prefix_hook.
~SpacingLogger | ( | ) |
|
inline |
|
private |