Class: RailsCustomLogging::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



5
6
7
8
9
# File 'lib/rails_custom_logging/configuration.rb', line 5

def initialize
  @enabled      = false
  @formatter    = Formatters::KeyValue
  @transformer  = Transformers::Default
end

Instance Attribute Details

#enabledObject

Returns the value of attribute enabled.



3
4
5
# File 'lib/rails_custom_logging/configuration.rb', line 3

def enabled
  @enabled
end

#formatterObject

Returns the value of attribute formatter.



3
4
5
# File 'lib/rails_custom_logging/configuration.rb', line 3

def formatter
  @formatter
end

#transformerObject

Returns the value of attribute transformer.



3
4
5
# File 'lib/rails_custom_logging/configuration.rb', line 3

def transformer
  @transformer
end