22 23 24 25 26
# File 'lib/log/levels.rb', line 22 def add_levels(logger) Log::Defaults.levels.each do |level| logger.add_level(level, &Log::Defaults.level_formatters[level]) end end