Parent class for LogWriters.
More...
#include <gempyre_utils.h>
Parent class for LogWriters.
◆ do_write()
virtual bool GempyreUtils::LogWriter::do_write |
( |
const char * |
buffer, |
|
|
size_t |
count |
|
) |
| |
|
pure virtual |
Implement write to the medium.
- Parameters
-
buffer | Buffer's address |
count | it's size |
- Returns
◆ header()
virtual std::string GempyreUtils::LogWriter::header |
( |
LogLevel |
logLevel | ) |
|
|
virtual |
header of class, called before every line, default just returns a timestamp and loglevel string.
- Parameters
-
- Returns
The documentation for this class was generated from the following file: