Module: Lazylead::Level
- Defined in:
- lib/lazylead/log.rb
Overview
Predefined logging levels.
There are 3 colored loggers so far:
NOTHING - for cases when logging isn't required
VERBOSE - all logging levels including debug
ERRORS - for errors only which are critical for app.
Constant Summary collapse
- FILE_APPENDER =
Logging.appenders.rolling_file("file", filename: name, age: age, keep: files)
- NOTHING =
Nothing to log
Logging.logger["nothing"]
- DEBUG =
All levels including debug
Logging.logger["debug"]
- ERRORS =
Alerts/errors
Logging.logger["errors"]