Class: Scm::Workflow::Utils::LogSettings

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/utils/logging.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLogSettings

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

#levelObject

Returns the value of attribute level.



14
15
16
# File 'lib/utils/logging.rb', line 14

def level
  @level
end

#outputObject

Returns the value of attribute output.



15
16
17
# File 'lib/utils/logging.rb', line 15

def output
  @output
end