Sha256: 6c9b2fe2cf1164cf0f8911f0056fed5605d124e39b5f6c8b905c9324cad6037e
Contents?: true
Size: 502 Bytes
Versions: 24
Compression:
Stored size: 502 Bytes
Contents
#!/usr/bin/env ruby # vim: set nosta noet ts=4 sw=4: # encoding: utf-8 require 'logger' require 'loggability' unless defined?( Loggability ) module Loggability::Constants # Log level names and their Logger constant equivalents LOG_LEVELS = { :debug => Logger::DEBUG, :info => Logger::INFO, :warn => Logger::WARN, :error => Logger::ERROR, :fatal => Logger::FATAL, }.freeze # Logger levels -> names LOG_LEVEL_NAMES = LOG_LEVELS.invert.freeze end # module Loggability::Constants
Version data entries
24 entries across 24 versions & 1 rubygems