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

    Modifier and Type
    Method
    Description
    void
    intercept(@NotNull LogEntry logEntry)
    Method invoked whenever a new log entry is logged
    void
    interceptError(@NotNull LogEntry logEntry)
    Method invoked whenever a new error log entry is logged
  • Method Details

    • 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 -