Package: loggit2 2.3.1
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.zip(r-4.5)loggit2_2.3.1.zip(r-4.4)loggit2_2.3.1.zip(r-4.3)
loggit2_2.3.1.tgz(r-4.4-x86_64)loggit2_2.3.1.tgz(r-4.4-arm64)loggit2_2.3.1.tgz(r-4.3-x86_64)loggit2_2.3.1.tgz(r-4.3-arm64)
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://meo265.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/meo265/loggit2/issues
Last updated 4 months agofrom:6a9bb9e174. Checks:OK: 9. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 29 2024 |
R-4.5-win-x86_64 | OK | Oct 29 2024 |
R-4.5-linux-x86_64 | OK | Oct 29 2024 |
R-4.4-win-x86_64 | OK | Oct 29 2024 |
R-4.4-mac-x86_64 | OK | Oct 29 2024 |
R-4.4-mac-aarch64 | OK | Oct 29 2024 |
R-4.3-win-x86_64 | OK | Oct 29 2024 |
R-4.3-mac-x86_64 | OK | Oct 29 2024 |
R-4.3-mac-aarch64 | OK | Oct 29 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 |