Class: JLog::Configuration
- Inherits:
-
Object
- Object
- JLog::Configuration
- Defined in:
- lib/jlog/configuration.rb
Instance Attribute Summary collapse
-
#formatter ⇒ Object
Returns the value of attribute formatter.
-
#logger ⇒ Object
Returns the value of attribute logger.
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 |
# File 'lib/jlog/configuration.rb', line 5 def initialize @logger = Rails.logger @formatter = Formatter::Default end |
Instance Attribute Details
#formatter ⇒ Object
Returns the value of attribute formatter.
3 4 5 |
# File 'lib/jlog/configuration.rb', line 3 def formatter @formatter end |
#logger ⇒ Object
Returns the value of attribute logger.
3 4 5 |
# File 'lib/jlog/configuration.rb', line 3 def logger @logger end |