Interface IProcessEventLogInterceptor

All Known Implementing Classes:
ProcessEventLogInterceptorCsv

public interface IProcessEventLogInterceptor
Interface for classes to intercept ProcessEventLog messages. All implementations must supply a three-arg constructor:
  • Argument 1 must be a com.fishlib.configuration.Configuration
  • Argument 2 must be a String containing the host name
  • Argument 3 must be a String containing the process name
  • Method Summary

    Modifier and Type Method Description
    void close()
    Close (and flush) all resources associated with this interceptor.
    void intercept​(long timestamp, String host, String level, String process, com.fishlib.auth.UserContext userContext, String logEntry)
    An intercept event with the specified PEL data.
  • Method Details

    • intercept

      void intercept​(long timestamp, String host, String level, String process, com.fishlib.auth.UserContext userContext, String logEntry)
      An intercept event with the specified PEL data.
      Parameters:
      timestamp - the timestamp
      host - the host
      level - the log level
      process - the process name
      userContext - the user context
      logEntry - the log entry
    • close

      void close()
      Close (and flush) all resources associated with this interceptor.