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.



132
133
134
135
# File 'lib/logsly.rb', line 132

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.



130
131
132
# File 'lib/logsly.rb', line 130

def colors
  @colors
end

#outputsObject (readonly)

Returns the value of attribute outputs.



130
131
132
# File 'lib/logsly.rb', line 130

def outputs
  @outputs
end