Maintenance release:
Maintenance release:
appender_slack
to use slackr_msg
instead of text_slackr
appender_console
writes to stderr
by default instead of stdout
(#28)glue
layouts (#44, @burgikukac)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)appender_file
to optionally truncate before appending (#24, @eddelbuettel)appender_file
to optionally rotate the log files after appending (#42)logger
in now part of the Mikata Project: https://mikata.dev%except%
: evaluate an expression with fallbacklog_separator
: logging with separator lines (#16)log_tictoc
: tic-toc logging (#16, @nfultz)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.0log_shiny_input_changes
: auto-log input changes in Shiny apps (#25)layout_pander
: transform R objects into markdown before logging (#22)layout_blank
: blank log messages without any modificationlayout_json_parser
: render the layout as a JSON blob after merging with requested meta fieldsappender_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)Initial CRAN release after collecting feedback for a month on Twitter:
finalized design of a log request defined by
threshold
,formatter
function preparing the log message,layout
function rendering the actual log records andappender
function delivering to the log destinationdetailed documentation with 7 vignettes and a lot of examples, even some benchmarks
~75% code coverage for unit tests
5 formatter
functions mostly using paste
, sprintf
and glue
6 layout
functions with convenient wrappers to let users define custom layouts via glue
or JSON
, including colorized output
5 appender
functions delivering log records to the console, files, Pushbullet and Slack
helper function to evaluate an expressions with auto-logging both the expression and its result
helper function to temporarily update the log level threshold
helper function to skip running the formatter function on a log message
mostly backward compatibly with the logging
and futile.logger
packages