Class: LogBox::Configuration

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_tagObject

Returns the value of attribute default_tag.



28
29
30
# File 'lib/log_box.rb', line 28

def default_tag
  @default_tag
end

#loggerObject

Returns the value of attribute logger.



28
29
30
# File 'lib/log_box.rb', line 28

def logger
  @logger
end