Sha256: 9a6e14ed9b6ec175b2f5a6438c76d23de24559a13001a06da25a2bf1f676a631
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
require "active_support/log_subscriber" module ActiveSupport class LogSubscriber # @override Rails 7.1 def silenced?(event) native_log_level = @event_levels.fetch(event, ::Logger::Severity::FATAL) logger.nil? || SemanticLogger::Levels.index(logger.level) > SemanticLogger::Levels.index(native_log_level) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_semantic_logger-4.13.0 | lib/rails_semantic_logger/extensions/active_support/log_subscriber.rb |