#include <logger.hpp>
Implementation of the LogBackend class which loggs to the given output stream.
cypress::LogStreamBackend::LogStreamBackend |
( |
std::ostream & |
os, |
|
|
bool |
use_color = false |
|
) |
| |
cypress::LogStreamBackend::~LogStreamBackend |
( |
| ) |
|
|
override |
void cypress::LogStreamBackend::log |
( |
LogSeverity |
lvl, |
|
|
std::time_t |
time, |
|
|
const std::string & |
module, |
|
|
const std::string & |
message |
|
) |
| |
|
overridevirtual |
Pure virtual function which is called whenever a new log message should be logged.
Implements cypress::LogBackend.
The documentation for this class was generated from the following file: