Class: ActiveSupport::Logger
- Inherits:
-
Object
- Object
- ActiveSupport::Logger
show all
- Defined in:
- lib/logjam_agent/buffered_logger.rb
Class Method Summary
collapse
Class Method Details
.broadcast(logger) ⇒ Object
21
22
23
24
25
|
# File 'lib/logjam_agent/buffered_logger.rb', line 21
def broadcast(logger)
logger.formatter = LogjamAgent::ConsoleFormatter.new
logger.formatter.extend(ActiveSupport::TaggedLogging::Formatter)
original_broadcast(logger)
end
|
.original_broadcast ⇒ Object
20
|
# File 'lib/logjam_agent/buffered_logger.rb', line 20
alias_method :original_broadcast, :broadcast
|