Class: Loggr

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/loggr.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeLoggr

Returns a new instance of Loggr.



13
14
15
# File 'lib/loggr.rb', line 13

def initialize()
  @logger = Logger.new(output)
end

Instance Attribute Details

#loggerObject (readonly)

Returns the value of attribute logger.



10
11
12
# File 'lib/loggr.rb', line 10

def logger
  @logger
end