Class: Hanami::CommonLogger::ElapsedTime Private

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

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Wrapper which uses Rack's monotonic clock_time (used for began_at since Rack 2.1.0)

Since:

  • 1.3.4

Class Method Summary collapse

Class Method Details

.callObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 1.3.4


104
105
106
# File 'lib/hanami/common_logger.rb', line 104

def self.call
  @clock.call
end