loggit: Modern Logging for the R Ecosystem

An effortless 'ndjson' (newline-delimited 'JSON') logger, with two primary log-writing interfaces. It provides a set of wrappings for base R's message(), warning(), and stop() functions that maintain identical functionality, but also log the handler message to an 'ndjson' log file. 'loggit' also exports its internal 'loggit()' function for powerful and configurable custom logging. No change in existing code is necessary to use this package, and should only require additions to fully leverage the power of the logging system. 'loggit' also provides a log reader for reading an 'ndjson' log file into a data frame, log rotation, and live echo of the 'ndjson' log messages to terminal 'stdout' for log capture by external systems (like containers). 'loggit' is ideal for Shiny apps, data pipelines, modeling work flows, and more. Please see the vignettes for detailed example use cases.

Version: 2.1.1
Depends: R (≥ 3.4.0)
Suggests: knitr (≥ 1.19), rmarkdown (≥ 1.8), testthat (≥ 2.0.0)
Published: 2021-02-28
DOI: 10.32614/CRAN.package.loggit
Author: Ryan Price [cre, aut]
Maintainer: Ryan Price <ryapric at gmail.com>
BugReports: https://github.com/ryapric/loggit/issues
License: MIT + file LICENSE
URL: https://github.com/ryapric/loggit
NeedsCompilation: no
Materials: NEWS
CRAN checks: loggit results

Documentation:

Reference manual: loggit.pdf
Vignettes: data-validation
getting-started

Downloads:

Package source: loggit_2.1.1.tar.gz
Windows binaries: r-devel: loggit_2.1.1.zip, r-release: loggit_2.1.1.zip, r-oldrel: loggit_2.1.1.zip
macOS binaries: r-release (arm64): loggit_2.1.1.tgz, r-oldrel (arm64): loggit_2.1.1.tgz, r-release (x86_64): loggit_2.1.1.tgz, r-oldrel (x86_64): loggit_2.1.1.tgz
Old sources: loggit archive

Reverse dependencies:

Reverse suggests: log4r

Linking:

Please use the canonical form https://CRAN.R-project.org/package=loggit to link to this page.