Learn R Programming

⚠️There's a newer version (2.1.1) of this package.Take me there.

loggit (version 1.2.0)

Effortless Exception Logging

Description

A very simple and easy-to-use set of suspiciously-familiar functions. 'loggit' provides a set of wrappings for base R's message(), warning(), and stop() functions that maintain identical functionality, but also log the handler message to a 'JSON' log file. While mostly automatic, powerful custom logging is available via these handlers' logging function, loggit(), which is also exported for use. No change in existing code is necessary to use this package.

Copy Link

Version

Install

install.packages('loggit')

Monthly Downloads

547

Version

1.2.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Ryan Price

Last Published

March 16th, 2020

Functions in loggit (1.2.0)

handlers

loggit's Exception Handlers
agree_to_upcoming_loggit_updates

Agree to upcoming loggit changes
getLogFile

Get Log File
get_logs

Return Log File as an R Object
loggit

Log Message to Output File
getTimestampFormat

Get Timestamp Format
setTimestampFormat

Set Timestamp Format
setLogFile

Set Log File