49 void setLevel(uint8_t level) { minimumLevel = level; }
56 virtual void logImpl(
const std::string& l) = 0;
61 std::string format =
"{ts} {file}:{line} {fun} {lvl} [{name}] {msg}\n";
77 void logImpl(
const std::string& l)
override;
94 void logImpl(
const std::string& l)
override;
void logImpl(const std::string &l) override
void logImpl(const std::string &l) override
void log(const LogRecord &record)
void setLevel(uint8_t level)
virtual void logImpl(const std::string &l)=0
void setFormatString(const std::string &format)
LogSink(const LogSink &)=delete
LogSink & operator=(const LogSink &)=delete
Buffered logger. Needs to be started before it can be used.
This file includes all the types the logdecoder script will decode.