Interface LogInterceptor
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BuildLogLabellerInterceptor
,ContentMatchingInterceptor
,ErrorMemorisingInterceptor
,LogInterceptorAdapter
,LogInterceptorStack
,LogMemorisingInterceptor
,StringMatchingInterceptor
public interface LogInterceptor extends Serializable
Common interface for interceptors attached to build loggers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
intercept(@NotNull LogEntry logEntry)
Method invoked whenever a new log entry is loggedvoid
interceptError(@NotNull LogEntry logEntry)
Method invoked whenever a new error log entry is logged
-
-
-
Method Detail
-
intercept
void intercept(@NotNull @NotNull LogEntry logEntry)
Method invoked whenever a new log entry is logged- Parameters:
logEntry
-
-
interceptError
void interceptError(@NotNull @NotNull LogEntry logEntry)
Method invoked whenever a new error log entry is logged- Parameters:
logEntry
-
-
-