Class: Nexaas::Auditor::StatisticsTrackers::Log

Inherits:
Base
  • Object
show all
Defined in:
lib/nexaas/auditor/statistics_trackers/log.rb

Instance Method Summary collapse

Methods inherited from Base

#track_count, #track_value

Constructor Details

#initialize(logger, namespace = nil) ⇒ Log

Returns a new instance of Log.



6
7
8
9
# File 'lib/nexaas/auditor/statistics_trackers/log.rb', line 6

def initialize(logger, namespace=nil)
  @logger = logger || Nexaas::Auditor.configuration.logger
  @namespace = namespace.to_s
end