Sha256: 054b1590fa497971dba1ed8292ea8c7c5d5ec7bb6beec9a31fad4f99ac01e875
Contents?: true
Size: 309 Bytes
Versions: 34
Compression:
Stored size: 309 Bytes
Contents
require "sapience" module Sapience module Rails class Railtie < ::Rails::Railtie config.before_configuration do Sapience.add_appender(:stream, io: STDOUT, level: :warn, formatter: :color) if Sapience.appenders.empty? ::Rails.logger = Sapience[::Rails] end end end end
Version data entries
34 entries across 34 versions & 1 rubygems