Go to the documentation of this file.
33 explicit FileLogger(
const std::string& path,
bool flush =
false);
49 explicit SyslogLogger(
const std::string& launchFileName);
67 :
std::runtime_error{msg}
74 void log(
const LogEvent& event)
override;
Write log messages into a log file.
void log(const LogEvent &event) override
virtual void log(const LogEvent &event)=0
NotAvailable(const std::string &msg)
std::string m_launchFileName
Write log messages to systemd journal.
SystemdLogger(const std::string &launchFileName)
void log(const LogEvent &event) override
Log message.
SyslogLogger(const std::string &launchFileName)
~SystemdLogger() override
FileLogger(const std::string &path, bool flush=false)
Constructor.
virtual ~Logger()=default
void log(const LogEvent &event) override
Write log messages to syslog.
rosmon_core
Author(s): Max Schwarz
autogenerated on Wed Feb 21 2024 04:01:14