Class: Aho::MetricsLogger
Constant Summary collapse
- TIMESTAMP_FORMAT =
'%Y-%m-%d_%H-%M-%S'
Instance Method Summary collapse
-
#initialize ⇒ MetricsLogger
constructor
A new instance of MetricsLogger.
Constructor Details
#initialize ⇒ MetricsLogger
Returns a new instance of MetricsLogger.
9 10 11 12 13 14 15 |
# File 'lib/aho/metrics_logger.rb', line 9 def initialize(...) super( MetricsLogDevice.new(log_file_path, ...), formatter: MetricsFormatter.new, shift_period_suffix: TIMESTAMP_FORMAT ) end |