Skip to content

log4r

0.5.0Package record

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

0packages dependsuggested by 2
72Kdownloads / year
78.3%test coverage
13/13flavors OK

Overview

About

Provides a fast, lightweight, object-oriented approach to logging based on the widely-emulated 'log4j' system and etymology. Loggers write messages to one or more destinations, such as the console, a file, or a remote server, using a format you control. Messages below the chosen severity threshold are discarded cheaply, so logging calls can be left in production code.

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK7 OK2026-08-05
  • ERROR11 OK, 2 ERROR2026-06-16
  • OK12 OK2026-04-25
  • NOTE13 OK, 1 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.5.0
READMEYes · 315 wordsVignettesYes · 3 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.5.0Citation fileNoWebsiteYes · pkgdown
Help pages
10 (2 internal)includes a package overview page
Examples that run
67%6 run in a plain check · 3 never run
Exported functions with examples
100%
Documented parameters
88%
Return-value docs
100%
Help pages citing references
0%

Downloads

72K
CRAN downloads in the past year
Rank #1,928 · ~197/day · ~6K/mo
Daily download trend is not available in this view yet.
3.6K30 days
10K90 days
72K1 year
Compare downloads with other packages →
Also on17.8K r2u3 autocran12.4K conda_forge113 c2d4u

Repository

r-lib/log4r ↗Organization: r-lib
101Stars
23Forks
10Open issues
2Open PRs
10Releases
215Commits
9Commit identities
loggingr
215 commits · Last activity 2026-09-04 · Default branch at 0.5.0.9000, ahead of CRAN 0.5.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
88%
Median days to close, 50 most recently updated closed issues
7
Median days to close, 50 most recently updated closed PRs
1

Commits over time

2026-08-09 · 2142026-09-15 · 215
PracticesBeta

10 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/r-lib/log4r on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-04 · The repository has a site deploy workflow

pkgdown site last built 2026-08-04

CRAN release process (1)
cran-comments.md
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-08-04
    Seen in the repository: .claude
    Named in .Rbuildignore: .claude
Shared conventions any agent may read, so they name no particular tool.
Seen in the repository: AGENTS.md
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)

Installing log4r adds 3 packages (2 with compiled code, 1.5 MB of source tarballs). Heaviest: rlang 766 KB, cli 629 KB, lifecycle 105 KB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

People & History

People (6)
Maintainer since 0.5.0 (2026) · added in 0.5.0
Author · added in 0.3.0
Author, Copyright holder
Contributor · added in 0.2
Contributor · added in 0.2
Copyright holder, Funder · added in 0.5.0

Previously maintained by Aaron Jacobs (0.3.0 to 0.4.4) and Kirill Müller (0.2).

Releases (14)

Pick two releases to compare their code metrics.

  • unarchivedReturned to CRAN
    2026-08-05
  • 0.5.0Latest
    record
    2026-08-04 · current release · diff ↗ ·
    added 6 exports
    log_at, log_debug, log_error, log_fatal, log_info, log_warn
  • archivedRemoved from CRAN
    2026-07-14
    issues were not corrected in time despite reminder
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.4
    record
    2024-10-12 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.4.3
    record
    2022-11-28 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.2
    record
    2021-11-04 · diff ↗
  • 0.4.1
    record
    2021-10-28 · diff ↗
  • 0.4.0
    record
    2021-10-26 · diff ↗ ·
    added 6 exports
    bare_log_layout, http_appender, json_log_layout, logfmt_log_layout, syslog_appender, tcp_appender
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3.2
    record
    2020-01-18 · diff ↗
Show 19 earlier eventsHide 19 earlier events
  • 0.3.1
    record
    2019-09-04 · diff ↗
  • 0.3.0
    record
    2019-06-21 · diff ↗ ·
    added 5 exports
    console_appender, default_log_layout, file_appender, logger, simple_log_layout
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 0.2
    record
    2014-09-29 · diff ↗ ·
    removed 6 exports
    logfile.logger, logfile<-.logger, level.logger, level<-.logger, logformat.logger, logformat<-.logger
    added 5 exports
    as.loglevel, available.loglevels, is.loglevel, levellog, loglevel
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • 0.1-4
    record
    2012-03-01 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 0.1-3
    record
    2011-06-25 · diff ↗ ·
    added 1 export
    verbosity
  • 0.1-2
    record
    2011-05-17 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 0.1-1
    record
    2010-09-25
  • R
    R 2.11.0 released · 2010-04-22

Package metadata

First published
2010-09-25
Total releases
14 / 16 yrs
License
Artistic-2.0 OSI
Download size
47 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("log4r")
Wickham, H., Posit Software, PBC, Jacobs, A., Müller, K., White, J. M., & White, K. (2026). log4r: A Fast and Lightweight Logging System for R, Based on 'log4j' (Version 0.5.0) [Computer software]. https://doi.org/10.32614/CRAN.package.log4r

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for log4r version 0.5.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy