A Fully Featured Logging Framework
Appenders
Log to a memory buffer
Log to the console
Log to a file
Log to a rotating file
Log to a date-stamped rotating file
Log to a time-stamped rotating file
Abstract class for logging to memory buffers
Abstract class for logging to tabular structures
Coerce objects to LogEvent
Coerce LogEvents to Data Frames
Basic Setup for the Logging System
Logger Error Conditions
Colorize Levels
Demote an exception to a warning
A List of LogEvents
Event Filters
Abstract Class for Filterables
Override the log level of all events processed by a Logger/Appender
Inject values into all events processed by a Logger/Appender
Manage Log Levels
Get/Create a Logger
Check if an R Object is a Filter
Label/Unlabel Log Levels
Abstract Class for Layouts
Format Log Events as Text
Format Log Events as Text via glue
Format LogEvents as JSON
A Fully Featured Logging Framework for R
LogEvents - The atomic unit of logging
Logger Configuration Objects
Return a data.frame of all registered loggers
Logger Tree
Loggers
LoggerGlue
Pad Character Vectors
Print an Appender object
Print or Format Logging Data
Print Logger Trees
Print a Logger Object
Read a JSON logfile
Simple Logging
Standardize User-Input Log Levels to Their Integer Representation
Short string representation for R objects
Suspend All Logging
Information About the System
Convert a LogEvent to a character string
Setup a Simple Logger for a Package
Inject Values into Logging Calls
A flexible, light-weight logging framework based on 'R6' classes. It supports hierarchical loggers, structured logging, output to plaintext, 'JSON', (rotating) files, and memory buffers. Additional appenders for 'Elasticsearch', 'Dynatrace', databases, email and push notifications, and more are available in the 'lgrExtra' package.