Package: logr 1.3.9

logr: Creates Log Files

Contains functions to help create log files. The package aims to overcome the difficulty of the base R sink() command. The log_print() function will print to both the console and the file log, without interfering in other write operations.

Authors:David Bosak [aut, cre], Rikard Isaksson [ctb]

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

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

Bug tracker:https://github.com/dbosak01/logr/issues

Pkgdown/docs site:https://logr.r-sassy.org

On CRAN:

Conda:

loglogginglogrtidylog

9.04 score 15 stars 3 packages 417 scripts 2.2k downloads 15 exports 2 dependencies

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

TargetResultTimeFilesSyslog
linux-devel-x86_64OK123
source / vignettesOK163
linux-release-x86_64OK120
macos-release-arm64OK117
macos-oldrel-arm64OK99
windows-develOK92
windows-releaseOK80
windows-oldrelOK87
wasm-releaseOK105

Exports:get_warningslog_closelog_codelog_errorlog_hooklog_infolog_openlog_pathlog_printlog_resumelog_statuslog_suspendlog_warningputsep

Dependencies:commonwithr

Complete Example
Program | Output | Log

Last update: 2025-12-08
Started: 2021-11-16

Global Options

Last update: 2025-03-26
Started: 2020-12-21

Package Integration
Direct Logging | Indirect Logging | Logging Hook | Indirect Logging of Errors and Warnings

Last update: 2025-03-26
Started: 2025-02-11

Frequently Asked Questions
Index | Content | Where is my log? | How come it didn't log anything? | How do I change the name of the log? | How do I add a timestamp to the log name? | How do I log my code? | How do I turn on symbolgen? | How do I log environment variables and their values? | How do I turn off the notes? | How is put() different from log_print()? | What are the "Base Packages" and "Other Packages" lines in the header? | How can I get rid of the blank lines? | How can I get rid of the traceback? | Can I use logr in my own package?

Last update: 2025-02-11
Started: 2021-11-16

tidylog Integration
Autolog Integration | Autolog Example | Autolog Log | Manual Integration | Manual Integration Example | Log

Last update: 2025-02-11
Started: 2020-12-21

Additional Features
Errors and Warnings | Message File *.msg | Log subdirectory /log

Last update: 2024-02-24
Started: 2020-12-21

logr
How to use | What to print to the log | What the log looks like | Next Steps

Last update: 2021-11-18
Started: 2020-06-30

Aliases for log_print()

Last update: 2021-11-15
Started: 2020-12-21

Log Parts
Log Header | Log Body | Log Footer | Example

Last update: 2021-11-15
Started: 2020-12-21