Module: GreenLog::SeverityThresholdSupport
- Included in:
- ClassicLogger, Contextualizer, Logger
- Defined in:
- lib/green_log/severity_threshold_support.rb
Overview
Common logic for deriving a #severity_threshold.
Instance Method Summary collapse
Instance Method Details
#severity_threshold ⇒ Object
10 11 12 13 14 |
# File 'lib/green_log/severity_threshold_support.rb', line 10 def severity_threshold return downstream.severity_threshold if downstream.respond_to?(:severity_threshold) GreenLog::Severity::DEBUG end |