Class: Logsly::Settings

Inherits:
Object
  • Object
show all
Defined in:
lib/logsly.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSettings

Returns a new instance of Settings.



119
120
121
122
# File 'lib/logsly.rb', line 119

def initialize
  @colors  = ::Hash.new(NullColors.new)
  @outputs = ::Hash.new(Outputs::Null.new)
end

Instance Attribute Details

#colorsObject (readonly)

Returns the value of attribute colors.



117
118
119
# File 'lib/logsly.rb', line 117

def colors
  @colors
end

#outputsObject (readonly)

Returns the value of attribute outputs.



117
118
119
# File 'lib/logsly.rb', line 117

def outputs
  @outputs
end