| appender_tee {logger} | R Documentation |
This appends log messages to both console and a file. The same rotation options are available as in appender_file.
appender_tee( file, append = TRUE, max_lines = Inf, max_bytes = Inf, max_files = 1L )
file |
path |
append |
boolean passed to |
max_lines |
numeric specifying the maximum number of lines allowed in a file before rotating |
max_bytes |
numeric specifying the maximum number of bytes allowed in a file before rotating |
max_files |
integer specifying the maximum number of files to be used in rotation |
function taking lines argument
This is generator function for log_appender, for alternatives, see eg appender_console, appender_file, appender_slack, appender_pushbullet, appender_telegram, appender_syslog, appender_kinesis and appender_async for evaluate any log_appender function in a background process.