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).See: Description
| Interface | Description |
|---|---|
| LogMessageSource<C> |
Message provider, converts context into a loggable string.
|
| Class | Description |
|---|---|
| CounterLogTemplate<C> |
Log template that logs something every N invocations of the
CounterLogTemplate.isEnabled(Object) method. |
| DelegateLogTemplate<C> |
Base class for log template which delegates part of the work to a concrete log template.
|
| DisabledLogTemplate<C> | |
| JULLogTemplate<C> |
Concrete log template using
Logger. |
| LoggingCallback |
Callback which logs stopwatch splits and manager warnings.
|
| LogTemplate<C> |
Log template class is the root of a hierarchy of implementations with different purposes.
|
| LogTemplates |
Factory for various implementations of
LogTemplates. |
| PeriodicLogTemplate<C> |
Log template that logs something after every N milliseconds.
|
| SLF4JLogTemplate<C> |
Concrete log template using SLF4J
Logger. |
| SLF4JLogTemplate.Debug<C> |
SLF4J Log template with DEBUG level.
|
| SLF4JLogTemplate.Info<C> |
SLF4J Log template with INFO level.
|
| SLF4JLogTemplate.Warn<C> |
SLF4J Log template with WARN level.
|
| SplitThresholdLogTemplate |
Log template which awakes only when split is longer than given threshold.
|
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).
These logging strategies are called log templates inherit from LogTemplate and
are produced by LogTemplates (factory class):
SLF4JLogTemplate: where → in SLF4J LoggerJULLogTemplate: where → in JUL LoggerDisabledLogTemplate: where → in /dev/nullDelegateLogTemplate: abstract log template delegating to a concrete log template
PeriodicLogTemplate: when → every N millisecondsCounterLogTemplate: when → every N splitsSplitThresholdLogTemplate: when → splits lasts longer than N millisecondsLogMessageSource is called back by
the LogTemplate to get the message (a String) to log: what.Copyright © 2019. All rights reserved.