Class: Scm::Workflow::Utils::LogSettings
- Inherits:
-
Object
- Object
- Scm::Workflow::Utils::LogSettings
- Includes:
- Singleton
- Defined in:
- lib/utils/logging.rb
Instance Attribute Summary collapse
-
#level ⇒ Object
Returns the value of attribute level.
-
#output ⇒ Object
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize ⇒ LogSettings
constructor
A new instance of LogSettings.
Constructor Details
#initialize ⇒ LogSettings
Returns a new instance of LogSettings.
16 17 18 19 |
# File 'lib/utils/logging.rb', line 16 def initialize @level = Logger::FATAL @output = STDOUT end |
Instance Attribute Details
#level ⇒ Object
Returns the value of attribute level.
14 15 16 |
# File 'lib/utils/logging.rb', line 14 def level @level end |
#output ⇒ Object
Returns the value of attribute output.
15 16 17 |
# File 'lib/utils/logging.rb', line 15 def output @output end |