Module: Chaltron::LogsHelper
- Defined in:
- app/helpers/chaltron/logs_helper.rb
Instance Method Summary collapse
Instance Method Details
#bootstrap_severity(severity) ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 |
# File 'app/helpers/chaltron/logs_helper.rb', line 2 def bootstrap_severity(severity) case severity.to_s when 'emerg', 'alert', 'crit', 'err' 'danger' when 'warning' 'warning' when 'debug' 'info' else 'primary' end end |