|
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 | |
| template<typename AnyType> | |
| SpacingLogger & | operator<< (const AnyType &at) |
| output any type, including io manipulators | |
| ~SpacingLogger () | |
| destructor: output a newline | |
Private Attributes | |
| bool | first_ |
| true until the first element it outputted. | |
| std::ostringstream | oss_ |
| collector stream | |
A logging class which outputs spaces between elements pushed via operator<<.
Depending on the real parameter the output may be suppressed.
| ~SpacingLogger | ( | ) |
|
inline |
|
private |