Class: Guard::UI::Logger::Config
- Inherits:
-
Options
- Object
- Thor::CoreExt::HashWithIndifferentAccess
- Options
- Guard::UI::Logger::Config
- Defined in:
- lib/guard/ui/logger.rb
Constant Summary collapse
- DEFAULTS =
{ progname: "Guard", level: :info, template: ":time - :severity - :message", time_format: "%H:%M:%S", flush_seconds: 0, # Other LumberJack device-specific options # max_size: "5M", # buffer_size: 0, # additional_lines: nil, }.freeze
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Config
constructor
A new instance of Config.
- #level=(value) ⇒ Object
Methods inherited from Options
Constructor Details
Instance Method Details
#level=(value) ⇒ Object
24 25 26 |
# File 'lib/guard/ui/logger.rb', line 24 def level=(value) self["level"] = value end |