Class Slf4jLogWriter

  • All Implemented Interfaces:
    LogWriter

    public class Slf4jLogWriter
    extends java.lang.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 Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static LogWriter getDefault()  
      void log​(org.apache.beam.model.fnexecution.v1.BeamFnApi.LogEntry entry)
      Write the contents of the Log Entry to some logging backend.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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