Interface LogListener
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LogListener
An abstract log listener that will receive log events instead of queueing them
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LogListener.LogMessage
A log message emitted if a listener is assigned to the log capture engine.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
logMessageReceived(LogListener.LogMessage message)
A callback invoked on this listener when a log message is received in the listener’s thread.
-
-
-
Method Detail
-
logMessageReceived
void logMessageReceived(LogListener.LogMessage message)
A callback invoked on this listener when a log message is received in the listener’s thread.- Parameters:
message
- The message to log. All fields are guaranteed to not be null.
-
-