Class: Loglevel::LoggableClass::Level
- Inherits:
-
Object
- Object
- Loglevel::LoggableClass::Level
- Extended by:
- Forwardable
- Defined in:
- lib/loglevel/loggable_class/level.rb
Overview
The current log level
Instance Method Summary collapse
Instance Method Details
#level_name ⇒ Object
11 12 13 |
# File 'lib/loglevel/loggable_class/level.rb', line 11 def level_name @level_name ||= http_level_name || active_record_level_name || environment_level_name end |
#value ⇒ Object
7 8 9 |
# File 'lib/loglevel/loggable_class/level.rb', line 7 def value @value ||= Loglevel.const_get level_name end |