lgr: A fully featured logging framework for R
Introduction | Quickstart | Logging to the console | Logging to plaintext files | Logging to JSON files | Structured Logging (custom fields) | What Else | Usage | Structure of the logging system | On R6 classes | Log levels | Logging with the Root Logger | Logging syntax | Formatting strings | LogEvents: The atomic unit of logging | Thresholds & Filters: controlling output detail | Appenders: Managing log destinations | Inheritance: Hierarchical Loggers | Log flow | Logging with LoggerGlue | Configuration | With setters | With a list object | With YAML or JSON | Examples | Logging to rotating files | Logger hierarchies | Buffered logging | Logging to databases | Adding default extra fields to messages | Temporarily disable logging | Adding a custom logger to a package | Creating a Layout that mimics NodeJS Winston logstash | Adding the source file / R-script to the log event | References