Sha256: ce152f155bf1f72901744d8c7aa3388669689aee11e0af16b53a02df3220879a
Contents?: true
Size: 611 Bytes
Versions: 4
Compression:
Stored size: 611 Bytes
Contents
require "active_support/logger" module ActiveSupport # More hacks to try and stop Rails from being it's own worst enemy. class Logger class << self undef :logger_outputs_to? # Prevent broadcasting since SemanticLogger already supports multiple loggers if method_defined?(:broadcast) undef :broadcast def broadcast(_logger) Module.new end end end # Prevent Console from trying to merge loggers def self.logger_outputs_to?(*_args) true end def self.new(*_args, **_kwargs) SemanticLogger[self] end end end
Version data entries
4 entries across 4 versions & 1 rubygems