23 #ifdef EALOGGER_SYSLOG 60 std::map<ealogger::constants::LOG_LEVEL, int>
61 loglevel_syslog_lookup;
63 std::mutex mtx_syslog;
65 void write_message(ATTR_UNUSED
const std::string &msg);
66 void config_changed();
std::string datetime_pattern
Definition: sink.h:141
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
SinkSyslog(std::string msg_template, std::string datetime_pattern, bool enabled, ealogger::constants::LOG_LEVEL min_lvl)
Constructor for a syslog sink.
Definition: sink_syslog.cpp:21
Sink writing to unix syslog.
Definition: sink_syslog.h:38
LOG_LEVEL
An enumaration representing the supported loglevels.
Definition: global.h:58