module GreenLog::SeverityThresholdSupport

Common logic for deriving a severity_threshold.

Public Instance Methods

severity_threshold() click to toggle source
# 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