Class Slf4jLogWriter

java.lang.Object
org.apache.beam.runners.fnexecution.logging.Slf4jLogWriter
All Implemented Interfaces:
LogWriter

public class Slf4jLogWriter extends Object implements LogWriter
A LogWriter which uses an SLF4J Logger as the underlying log backend.

Ignores the timestamp, instruction reference, primitive transform reference, and thread fields.

  • Method Details

    • getDefault

      public static LogWriter getDefault()
    • log

      public void log(org.apache.beam.model.fnexecution.v1.BeamFnApi.LogEntry entry)
      Description copied from interface: LogWriter
      Write the contents of the Log Entry to some logging backend.
      Specified by:
      log in interface LogWriter