public class MeterConfig
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
| static boolean | printCategory | 
| static long | progressPeriodMillisecondsTime to wait before reporting next progress status, in milliseconds. | 
| Constructor and Description | 
|---|
| MeterConfig() | 
public static long progressPeriodMilliseconds
Meter.inc(), Meter.incBy(long) and Meter.incTo(long) method on each step. To prevent crowding the log file and
 to prevent performance degradation, Meter waits a minimal amount of time before printing the next status message. Value is read from system
 property slf4jtoys.meter.progress.period at application startup and defaults to 2 seconds. The number represents a long integer
 that represents milliseconds. The system property allows the number suffixed with 'ms', 's', 'm' and 'h' to represent milliseconds, seconds,
 minutes and hours. You may assign a new value at runtime.public static boolean printCategory
Meter and MeterData print the category on the 1-line summary message. The category groups operations that are closely
 related. Usually, the category is the same as logger name declared within the class that creates the `Meter`. The usual logger configuration
 already includes the logger name. But if your logger configuration omits the logger name, then you may set this property to true. Value is read
 from system property slf4jtoys.meter.print.category at application startup, defaults to false. You may assign a new value at
 runtime.