Class: RailsCustomLogging::Configuration
- Inherits:
-
Object
- Object
- RailsCustomLogging::Configuration
- Defined in:
- lib/rails_custom_logging/configuration.rb
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#formatter ⇒ Object
Returns the value of attribute formatter.
-
#transformer ⇒ Object
Returns the value of attribute transformer.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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
#enabled ⇒ Object
Returns the value of attribute enabled.
3 4 5 |
# File 'lib/rails_custom_logging/configuration.rb', line 3 def enabled @enabled end |
#formatter ⇒ Object
Returns the value of attribute formatter.
3 4 5 |
# File 'lib/rails_custom_logging/configuration.rb', line 3 def formatter @formatter end |
#transformer ⇒ Object
Returns the value of attribute transformer.
3 4 5 |
# File 'lib/rails_custom_logging/configuration.rb', line 3 def transformer @transformer end |