class ActiveSupport::Logger
More hacks to try and stop Rails
from being it’s own worst enemy.
Public Class Methods
broadcast(_logger)
click to toggle source
# File lib/rails_semantic_logger/extensions/active_support/logger.rb, line 12 def broadcast(_logger) Module.new end
logger_outputs_to?(*_args)
click to toggle source
Prevent Console from trying to merge loggers
# File lib/rails_semantic_logger/extensions/active_support/logger.rb, line 19 def self.logger_outputs_to?(*_args) true end
new(*_args, **_kwargs)
click to toggle source
# File lib/rails_semantic_logger/extensions/active_support/logger.rb, line 23 def self.new(*_args, **_kwargs) SemanticLogger[self] end