Module: Loggability::Constants

Included in:
Loggability, Logger
Defined in:
lib/loggability/constants.rb

Constant Summary collapse

LOG_LEVELS =

Log level names and their Logger constant equivalents

{
	:debug => Logger::DEBUG,
	:info  => Logger::INFO,
	:warn  => Logger::WARN,
	:error => Logger::ERROR,
	:fatal => Logger::FATAL,
}.freeze
LOG_LEVEL_NAMES =

Logger levels -> names

LOG_LEVELS.invert.freeze