16 #ifndef SINK_CONSOLE_H 17 #define SINK_CONSOLE_H 50 std::mutex mtx_console;
52 void write_message(
const std::string &msg);
53 void config_changed();
std::string datetime_pattern
Definition: sink.h:141
Sink to write to a console.
Definition: sink_console.h:34
SinkConsole(std::string msg_template, std::string datetime_pattern, bool enabled, ealogger::constants::LOG_LEVEL min_lvl)
Console sink constructor.
Definition: sink_console.cpp:21
Main namespace for ealogger.
Definition: conversion_pattern.h:28
A sink is an object that writes the log message to a specific target.
Definition: sink.h:52
bool enabled
Definition: sink.h:142
std::string msg_template
Definition: sink.h:140
LOG_LEVEL
An enumaration representing the supported loglevels.
Definition: global.h:58