SpringLogHold class final
The records held back by one SpringLog.hold, until release.
Startup code receives it from SpringLog.hold and must release it, even when startup fails, or the held records never appear.
// Levels are configured first, then the early records are judged.
final hold = SpringLog.hold();
try {
configureLevels();
} finally {
hold.release();
}
Spring Boot (Java): DeferredLog.replayTo(destination).
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → List< SpringLogRecord> - Stops holding and emits, in order, the held records that pass the current level of their logger, or hands them to an outer hold if one is still active. Returns the records it passed on. A second call does nothing and returns an empty list.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited