Send log messages to a Slack channel
Usage
appender_slack(
channel = Sys.getenv("SLACK_CHANNEL"),
username = Sys.getenv("SLACK_USERNAME"),
icon_emoji = Sys.getenv("SLACK_ICON_EMOJI"),
api_token = Sys.getenv("SLACK_API_TOKEN"),
preformatted = TRUE
)
See also
This is generator function for log_appender()
, for
alternatives, see eg appender_console()
, appender_file()
,
appender_tee()
, appender_pushbullet()
,
appender_telegram()
, appender_syslog()
,
appender_kinesis()
and appender_async()
for evaluate any
log_appender()
function in a background process.