Log class final
#include <logging.hpp>
A single logging operation of a Logger using a specified LOGLEVEL.
A (more or less) thread-safe, type-safe, portable logging interface for concrete Loggers.
Public static functions
Constructors, destructors, conversion operators
Public functions
- auto get() -> std::ostringstream&
- Get the output stream to write to.
Function documentation
static
LOGLEVEL
arcstk:: Log:: from_string(const std::string& level)
Turns a string representation of the log level to a LOGLEVEL instance.
| Parameters | |
|---|---|
| level in | The name of the log level to create |
| Returns | The log level represented by the string or the default log level |
std::ostringstream& arcstk:: Log:: get()
Get the output stream to write to.
| Returns | Get the output stream to write to |
|---|