Skip to content

loggit

Modern Logging for the R Ecosystem

v2.1.1 · Feb 27, 2021 · MIT + file LICENSE

Description

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.

Downloads

767

Last 30 days

4689th

4.3K

Last 90 days

22.6K

Last year

Trend: -7.9% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies log4r loggit

Version History

new 2.1.1 Mar 10, 2026
updated 2.1.1 ← 2.1.0 diff Feb 27, 2021
updated 2.1.0 ← 2.0.0 diff Jun 5, 2020
updated 2.0.0 ← 1.2.0 diff May 4, 2020
updated 1.2.0 ← 1.1.1 diff Mar 15, 2020
updated 1.1.1 ← 1.0.0 diff Apr 8, 2018
new 1.0.0 Feb 19, 2018