Package | Description |
---|---|
org.javasimon.callback.logging |
LoggingCallback is able to log stopwatch splits and statistics once
in a while (N per millisecond, every N split, when split is longer than N ms, etc.)
and to various outputs (SLF4J, JUL). |
Modifier and Type | Method and Description |
---|---|
static SplitThresholdLogTemplate |
LogTemplates.whenSplitLongerThanMilliseconds(LogTemplate<Split> delegateLogger,
long threshold)
Produces a log template which logs something when stopwatch split is longer than threshold.
|
static SplitThresholdLogTemplate |
LogTemplates.whenSplitLongerThanNanoseconds(LogTemplate<Split> delegateLogger,
long threshold)
Produces a log template which logs something when stopwatch split is longer than threshold.
|
Copyright © 2019. All rights reserved.