CRAN/E | loggit

loggit

Modern Logging for the R Ecosystem

Installation

About

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.

github.com/ryapric/loggit
Bug report File report

Key Metrics

Version 2.1.1
R ≥ 3.4.0
Published 2021-02-28 1158 days ago
Needs compilation? no
License MIT
License File
CRAN checks loggit results

Downloads

Yesterday 24 -17%
Last 7 days 153 -12%
Last 30 days 731 -17%
Last 90 days 2.214 -25%
Last 365 days 9.835 +18%

Maintainer

Maintainer

Ryan Price

ryapric@gmail.com

Authors

Ryan Price

cre / aut

Material

NEWS
Reference manual
Package source

Vignettes

data-validation
getting-started

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

loggit archive

Depends

R ≥ 3.4.0

Suggests

knitr ≥ 1.19
rmarkdown ≥ 1.8
testthat ≥ 2.0.0

Reverse Suggests

log4r
OpenSpecy