Sha256: d83f50a38343777410531647c8ddb75e798a01c63fbc25af11442c249adebf54
Contents?: true
Size: 216 Bytes
Versions: 3
Compression:
Stored size: 216 Bytes
Contents
require 'slf4r/logging_logger' Logging.logger.root.appenders = Logging.appenders.file( File.join(Rails.root, "log", "#{Rails.env}.log"), :layout => Logging.layouts.pattern(:pattern => '%d %l (%c) - %m\n') )
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
slf4r-0.4.2 | lib/generators/slf4r/templates/logging.rb |
slf4r-0.4.1 | lib/generators/slf4r/templates/logging.rb |
slf4r-0.4.0 | lib/generators/slf4r/templates/logging.rb |