Class: Pantheios::Core::Internals_::DefaultDiscriminator
- Inherits:
-
Object
- Object
- Pantheios::Core::Internals_::DefaultDiscriminator
- Defined in:
- lib/pantheios/core.rb
Instance Method Summary collapse
Instance Method Details
#severity_logged?(severity) ⇒ Boolean
75 76 77 78 79 80 81 82 83 84 85 86 87 |
# File 'lib/pantheios/core.rb', line 75 def severity_logged? severity return true if $DEBUG levels = ::Pantheios::ApplicationLayer::StockSeverityLevels::STOCK_SEVERITY_LEVEL_VALUES v_info = levels[:informational] v_sev = levels[severity] if ::Symbol === severity return false if v_sev > v_info true end |