Class TracingPrintStream

java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
net.minecraftforge.fml.loading.TracingPrintStream
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class TracingPrintStream extends PrintStream
PrintStream which redirects it's output to a given logger.
  • Field Details

    • BASE_DEPTH

      private static final int BASE_DEPTH
      See Also:
    • logger

      private final org.apache.logging.log4j.Logger logger
  • Constructor Details

    • TracingPrintStream

      public TracingPrintStream(org.apache.logging.log4j.Logger logger, PrintStream original)
  • Method Details