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