A helper class for accumulating output via the stream operator and then writing it out at once.
More...
#include <src/common/include/display_device/logging.h>
|
| | LogWriter (Logger::LogLevel log_level) |
| | Constructor scoped writer utility.
|
| |
| template<class T > |
| LogWriter & | operator<< (T &&value) |
| | Stream value to the buffer.
|
| |
|
virtual | ~LogWriter () noexcept |
| | Write out the accumulated output.
|
| |
A helper class for accumulating output via the stream operator and then writing it out at once.
◆ LogWriter()
Constructor scoped writer utility.
- Parameters
-
| log_level | Level to be used when writing out the output. |
◆ operator<<()
template<class T >
| LogWriter & display_device::LogWriter::operator<< |
( |
T && | value | ) |
|
|
inline |
Stream value to the buffer.
- Parameters
-
| value | Arbitrary value to be written to the buffer. |
- Returns
- Reference to the writer utility for chaining the operators.
The documentation for this class was generated from the following files: