log4r

A Fast and Lightweight Logging System for R, Based on 'log4j'

Provides a fast, lightweight, object-oriented approach to logging based on the widely-emulated 'log4j' system and etymology. Loggers write messages to one or more destinations, such as the console, a file, or a remote server, using a format you control. Messages below the chosen severity threshold are discarded cheaply, so logging calls can be left in production code.

Tests Vignettes

Available Snapshots

This version of log4r can be found in the following snapshots:

Dependencies

Imports/Depends/LinkingTo/Enhances (3)
  • cli
  • lifecycle
  • rlang
  • Suggests (13)
  • futile.logger
  • httr
  • jsonlite
  • knitr
  • lgr
  • logger
  • logging
  • microbenchmark
  • rlog
  • rmarkdown
  • rsyslog
  • testthat >= 3.0.0
  • webfakes
  • Version History