Class: LogBox::Configuration
- Inherits:
-
Object
- Object
- LogBox::Configuration
- Defined in:
- lib/log_box.rb
Instance Attribute Summary collapse
-
#default_tag ⇒ Object
Returns the value of attribute default_tag.
-
#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.
30 31 32 33 |
# File 'lib/log_box.rb', line 30 def initialize @logger = Fluent::Logger::ConsoleLogger.new(STDOUT) @default_tag = DEFAULT_TAG end |
Instance Attribute Details
#default_tag ⇒ Object
Returns the value of attribute default_tag.
28 29 30 |
# File 'lib/log_box.rb', line 28 def default_tag @default_tag end |
#logger ⇒ Object
Returns the value of attribute logger.
28 29 30 |
# File 'lib/log_box.rb', line 28 def logger @logger end |