class ActiveSupport::BufferedLogger
Private Instance Methods
open_logfile(log)
click to toggle source
# File lib/aioli_log_formatter/active_support/buffered_logger.rb, line 11 def open_logfile(log) logger = Logger.new log if AioliLogFormatter::Engine.config.aioli_log_formatter.enabled logger.formatter = AioliLogFormatter::Engine.config.aioli_log_formatter.formatter end logger end