Sha256: 6003206178106a2aff0ced4f2dff857626b7518b6478bb4177e187ef7739a0a9
Contents?: true
Size: 509 Bytes
Versions: 12
Compression:
Stored size: 509 Bytes
Contents
require 'logging' Logging.color_scheme( 'bright', :levels => { :info => :green, :warn => :yellow, :error => :red, :fatal => [:white, :on_red] }, :date => :blue, :logger => :cyan, :message => :magenta ) Logging.appenders.stdout( 'stdout', :layout => Logging.layouts.pattern( :pattern => '[%d] %-5l %c: %m\n', :color_scheme => 'bright' ) ) $logger = Logging.logger['UE'] $logger.add_appenders 'stdout' $logger.level = :error
Version data entries
12 entries across 12 versions & 1 rubygems