Package: loggit2 2.3.1
![](https://r-universe.dev/static/nobody.jpg)
Matthias Ollech
loggit2: Easy-to-Use, Dependencyless Logger
An easy-to-use 'ndjson' (newline-delimited 'JSON') logger. It provides a set of wrappers for base R's message(), warning(), and stop() functions that maintain identical functionality, but also log the handler message to an 'ndjson' log file. No change in existing code is necessary to use this package, and only a few additional adjustments are needed to fully utilize its potential.
Authors:
loggit2_2.3.1.tar.gz
loggit2_2.3.1.tar.gz(r-4.5-noble)loggit2_2.3.1.tar.gz(r-4.4-noble)
loggit2_2.3.1.tgz(r-4.4-emscripten)loggit2_2.3.1.tgz(r-4.3-emscripten)
loggit2.pdf |loggit2.html✨
loggit2/json (API)
NEWS
# Install 'loggit2' in R: |
install.packages('loggit2', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/meo265/loggit2/issues
Last updated 1 months agofrom:29a0acaa82. Checks:OK: 2. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Aug 25 2024 |
R-4.5-linux-x86_64 | OK | Aug 25 2024 |
Exports:convert_to_csvget_echoget_log_levelget_logfileget_timestamp_formatloggitmessageread_logsrotate_logsset_echoset_log_levelset_logfileset_timestamp_formatstopstopifnotwarningwith_loggit
Dependencies:
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Write log to csv file | convert_to_csv |
Get echo | get_echo |
Get Log Level | get_log_level |
Get Log File | get_logfile |
Get Timestamp Format | get_timestamp_format |
Log messages and R objects | loggit |
Message Log Handler | message |
Get log as 'data.frame' | read_logs |
Rotate log file | rotate_logs |
Set echo | set_echo |
Set Log Level | set_log_level |
Set Log File | set_logfile |
Set Timestamp Format | set_timestamp_format |
Stop Log Handler | stop |
Conditional Stop Log Handler | stopifnot |
Warning Log Handler | warning |
Log any expressions | with_loggit |