Class: InstStatsd::RequestTracking

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

Class Method Summary collapse

Class Method Details

.enable(logger: nil) ⇒ Object



6
7
8
9
# File 'lib/inst_statsd/request_tracking.rb', line 6

def enable(logger: nil)
  @logger = RequestLogger.new(logger)
  track_timing
end