Package: log4r 0.4.4.9000

Aaron Jacobs

log4r: A Fast and Lightweight Logging System for R, Based on 'log4j'

The log4r package is meant to provide a fast, lightweight, object-oriented approach to logging in R based on the widely-emulated 'log4j' system and etymology.

Authors:John Myles White [aut, cph], Kenton White [ctb], Kirill Müller [ctb], Aaron Jacobs [aut, cre]

log4r_0.4.4.9000.tar.gz
log4r_0.4.4.9000.zip(r-4.5)log4r_0.4.4.9000.zip(r-4.4)log4r_0.4.4.9000.zip(r-4.3)
log4r_0.4.4.9000.tgz(r-4.4-x86_64)log4r_0.4.4.9000.tgz(r-4.4-arm64)log4r_0.4.4.9000.tgz(r-4.3-x86_64)log4r_0.4.4.9000.tgz(r-4.3-arm64)
log4r_0.4.4.9000.tar.gz(r-4.5-noble)log4r_0.4.4.9000.tar.gz(r-4.4-noble)
log4r_0.4.4.9000.tgz(r-4.4-emscripten)log4r_0.4.4.9000.tgz(r-4.3-emscripten)
log4r.pdf |log4r.html
log4r/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/johnmyleswhite/log4r/issues

On CRAN:

logging

10.76 score 93 stars 15 packages 211 scripts 4.4k downloads 35 exports 4 dependencies

Last updated 2 months agofrom:ab0b7e97c1. Checks:OK: 7 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 17 2024
R-4.5-win-x86_64OKDec 17 2024
R-4.5-linux-x86_64OKDec 17 2024
R-4.4-win-x86_64NOTEDec 17 2024
R-4.4-mac-x86_64OKDec 17 2024
R-4.4-mac-aarch64OKDec 17 2024
R-4.3-win-x86_64NOTEDec 17 2024
R-4.3-mac-x86_64OKDec 17 2024
R-4.3-mac-aarch64OKDec 17 2024

Exports:as.loglevelavailable.loglevelsbare_log_layoutconsole_appendercreate.loggerdebugdefault_log_layouterrorfatalfile_appenderhttp_appenderinfois.logleveljson_log_layoutlevellevel<-levelloglog_atlog_debuglog_errorlog_fatallog_infolog_warnlogfilelogfile<-logfmt_log_layoutlogformatlogformat<-loggerloglevelsimple_log_layoutsyslog_appendertcp_appenderverbositywarn

Dependencies:cligluelifecyclerlang

Logging Beyond Local Files

Rendered fromlogging-beyond-local-files.Rmdusingknitr::rmarkdownon Dec 17 2024.

Last update: 2024-10-12
Started: 2020-07-06

Logging Performance

Rendered fromperformance.Rmdusingknitr::rmarkdownon Dec 17 2024.

Last update: 2024-10-16
Started: 2019-09-04

Structured Logging

Rendered fromstructured-logging.Rmdusingknitr::rmarkdownon Dec 17 2024.

Last update: 2024-10-17
Started: 2021-10-22

Readme and manuals

Help Manual

Help pageTopics
Send logs to their final destination with Appendersappenders console_appender file_appender
Send logs over HTTPhttp_appender
Format logs with Layoutsbare_log_layout default_log_layout json_log_layout layouts logfmt_log_layout simple_log_layout
Set the logging threshold level for a logger dynamicallyavailable.loglevels level level.logger level<- level<-.logger
Write logs at a given levellog_at log_debug log_error log_fatal log_info log_warn
Create a loggerlogger
Send logs to the local syslogsyslog_appender
Send logs over TCPtcp_appender