Package: loggit 2.1.1.9999

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.

Authors:Ryan Price [cre, aut]

loggit_2.1.1.9999.tar.gz
loggit_2.1.1.9999.zip(r-4.7)loggit_2.1.1.9999.zip(r-4.6)loggit_2.1.1.9999.zip(r-4.5)
loggit_2.1.1.9999.tgz(r-4.6-any)loggit_2.1.1.9999.tgz(r-4.5-any)
loggit_2.1.1.9999.tar.gz(r-4.7-any)loggit_2.1.1.9999.tar.gz(r-4.6-any)
loggit_2.1.1.9999.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
loggit/json (API)

# Install 'loggit' in R:
install.packages('loggit', repos = c('https://ryapric.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ryapric/loggit/issues

On CRAN:

Conda:

exception-handlerlogging

6.23 score 39 stars 44 scripts 150 downloads 10 exports 0 dependencies

Last updated from:dd4afecbd5. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK123
source / vignettesOK163
linux-release-x86_64OK116
macos-release-arm64OK148
macos-oldrel-arm64OK203
windows-develOK79
windows-releaseOK117
windows-oldrelOK68
wasm-releaseOK92

Exports:get_logfileget_timestamp_formatloggitmessageread_logsrotate_logsset_logfileset_timestamp_formatstopwarning

Dependencies:

Getting Started
How to Use loggit | Things to keep in mind

Last update: 2020-05-04
Started: 2020-05-04

Data Validation with loggit

Last update: 2020-05-04
Started: 2020-05-04

Readme and manuals

Help Manual

Help pageTopics
Get Log Fileget_logfile
Get Timestamp Formatget_timestamp_format
loggit's Exception Handlershandlers message stop warning
Log entries to fileloggit
Return log file as an R data frameread_logs
Read ndJSON-formatted log fileread_ndjson
Rotate log filerotate_logs
Default sanitization for ndJSON.default_ndjson_sanitizer default_ndjson_unsanitizer sanitizers
Set Log Fileset_logfile
Set Timestamp Formatset_timestamp_format
Write ndJSON-formatted log filewrite_ndjson