syslog_appender: Send logs to the local syslog

View source: R/appenders.R

syslog_appenderR Documentation

Send logs to the local syslog

Description

Send messages to the local syslog. Requires the rsyslog package.

Usage

syslog_appender(identifier, layout = bare_log_layout(), ...)

Arguments

identifier

A string identifying the application.

layout

A layout function taking a level parameter and additional arguments corresponding to the message.

...

Further arguments passed on to rsyslog::open_syslog().

See Also

appenders for more information on Appenders.


johnmyleswhite/log4r documentation built on Oct. 22, 2024, 8 p.m.