You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fn reference in loggers will not to a Cartesian join on the log lines and message, but merge (and clean up) the fn even for large anonymous functions (#20)
New features
allow defining the log level threshold as a string (#13, @artemklevtsov)
allow updating the log level threshold, formatter, layout and appender in all namespaces with a single call (#50)
new argument to appender_file to optionally truncate before appending (#24, @eddelbuettel)
new arguments to appender_file to optionally rotate the log files after appending (#42)
new meta variables for logging in custom layouts: R version and calling package's version
improved performance by not evaluating arguments when the log record does not meet the log level threshold (#27, @jozefhajnala)
log_failure: log error before failing (#19, @amy17519)
log_messages, log_warnings, log_errors: optionally auto-log messages, warnings and errors using globalCallingHandlers on R 4.0.0 and above, and injecting logger calls to message, warnings and stop below R 4.0.0
log_shiny_input_changes: auto-log input changes in Shiny apps (#25)
New formatter functions
layout_pander: transform R objects into markdown before logging (#22)
New layout functions
layout_blank: blank log messages without any modification
layout_json_parser: render the layout as a JSON blob after merging with requested meta fields
New appender functions
appender_telegram: deliver log records to Telegram (#14, @artemklevtsov)
appender_syslog: deliver log records to syslog (#30, @atheriel)
appender_kinesis: deliver log records to Amazon Kinesis (#35)
appender_async: wrapper function for other appender functions to deliver log records in a background process asynchronously without blocking the master process (#35)