Class LoggingPrintStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.Appendable, java.lang.AutoCloseable
    Direct Known Subclasses:
    DebugLoggingPrintStream

    public class LoggingPrintStream
    extends java.io.PrintStream
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.apache.logging.log4j.Logger LOGGER  
      protected java.lang.String name  
      • Fields inherited from class java.io.FilterOutputStream

        out
    • Constructor Summary

      Constructors 
      Constructor Description
      LoggingPrintStream​(java.lang.String p_i45927_1_, java.io.OutputStream p_i45927_2_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void logLine​(java.lang.String p_179882_1_)  
      void println​(java.lang.Object p_println_1_)  
      void println​(java.lang.String p_println_1_)  
      • Methods inherited from class java.io.PrintStream

        append, append, append, checkError, clearError, close, flush, format, format, print, print, print, print, print, print, print, print, print, printf, printf, println, println, println, println, println, println, println, println, setError, write, write
      • Methods inherited from class java.io.FilterOutputStream

        write
      • Methods inherited from class java.io.OutputStream

        nullOutputStream
      • Methods inherited from class java.lang.Object

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

      • LOGGER

        protected static final org.apache.logging.log4j.Logger LOGGER
      • name

        protected final java.lang.String name
    • Constructor Detail

      • LoggingPrintStream

        public LoggingPrintStream​(java.lang.String p_i45927_1_,
                                  java.io.OutputStream p_i45927_2_)
    • Method Detail

      • println

        public void println​(@Nullable
                            java.lang.String p_println_1_)
        Overrides:
        println in class java.io.PrintStream
      • println

        public void println​(java.lang.Object p_println_1_)
        Overrides:
        println in class java.io.PrintStream
      • logLine

        protected void logLine​(@Nullable
                               java.lang.String p_179882_1_)