MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ProcessLogEntry

Method ProcessLogEntry

lib/base/sysloglogger.cpp:135–139  ·  view source on GitHub ↗

* Processes a log entry and outputs it to syslog. * * @param entry The log entry. */

Source from the content-addressed store, hash-verified

133 * @param entry The log entry.
134 */
135void SyslogLogger::ProcessLogEntry(const LogEntry& entry)
136{
137 syslog(SyslogHelper::SeverityToNumber(entry.Severity) | m_Facility,
138 "%s", entry.Message.CStr());
139}
140
141void SyslogLogger::Flush()
142{

Callers 1

~LogMethod · 0.45

Calls 1

CStrMethod · 0.80

Tested by

no test coverage detected