RailsCasts Pro episodes are now free!
Learn more or hide this
Resources
logger.debug { "Article Count: #{Article.count}" }
config.log_level = :warn
config.log_tags = [:uuid, :remote_ip, lambda { |req| Time.now }]
class Logger::SimpleFormatter def call(severity, time, progname, msg) "[#{severity}] #{msg}\n" end end