Class LoggingMeasurementRecorder

java.lang.Object
dk.cloudcreate.essentials.shared.measurement.LoggingMeasurementRecorder
All Implemented Interfaces:
MeasurementRecorder

public class LoggingMeasurementRecorder extends Object implements MeasurementRecorder
A MeasurementRecorder implementation that logs the measurement using configurable thresholds.
  • Constructor Details

    • LoggingMeasurementRecorder

      public LoggingMeasurementRecorder(org.slf4j.Logger logger, LogThresholds thresholds)
      Constructs a new LoggingMeasurementRecorder.
      Parameters:
      logger - the logger to log the measurement messages
      thresholds - the thresholds for logging at different levels
  • Method Details