Package io.perl.logger.impl
Class DefaultLogger
java.lang.Object
io.perl.logger.impl.ResultsLogger
io.perl.logger.impl.DefaultLogger
- All Implemented Interfaces:
PerformanceLogger
,Print
,ReportLatency
- Direct Known Subclasses:
DefaultPrometheusLogger
Class DefaultLogger.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor DefaultLogger takes no arguments but initialize all values with default values.DefaultLogger
(String header, double[] percentiles, TimeUnit latencyTimeUnit, long minLatency, long maxLatency) Constructor DefaultLogger pass all values to its super class. -
Method Summary
Methods inherited from class io.perl.logger.impl.ResultsLogger
appendResultString, getMaxLatency, getMinLatency, getPercentileNames, getPercentiles, getPrefix, getTimeUnit, print, printTotal, setMaxLatency, setMinLatency, setPercentiles, setPrefix, setTimeUnit
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.perl.logger.PerformanceLogger
getPrintingIntervalSeconds, recordLatency
-
Constructor Details
-
DefaultLogger
public DefaultLogger(String header, double[] percentiles, TimeUnit latencyTimeUnit, long minLatency, long maxLatency) Constructor DefaultLogger pass all values to its super class.- Parameters:
header
- Stringpercentiles
- double[]latencyTimeUnit
- TimeUnitminLatency
- longmaxLatency
- long
-
DefaultLogger
public DefaultLogger()Constructor DefaultLogger takes no arguments but initialize all values with default values.
-