Interface LogListener

All Known Implementing Classes:
LogPrinter, LogSplitter, LogWatcher, NullPrinter

public interface LogListener
Receives line-by-line logs from LogListenable.
Author:
Kohsuke Kawaguchi
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Indicates the EOF.
    void
    Receives log output from Jenkins process one line at a time, in the order.
  • Method Details

    • processLine

      @Asynchronous void processLine(String line) throws IOException
      Receives log output from Jenkins process one line at a time, in the order.
      Throws:
      IOException
    • processClose

      @Asynchronous void processClose(Exception t)
      Indicates the EOF.
      Parameters:
      t - if the termination of log source is unexpected, indicate the cause of the problem.