Package net.minecraftforge.fml.loading
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
PrintStream which redirects it's output to a given logger.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static int
private org.apache.logging.log4j.Logger
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
ConstructorDescriptionTracingPrintStream(org.apache.logging.log4j.Logger logger, PrintStream original)
-
Method Summary
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, setError, write, write, write, writeBytes
Methods inherited from class java.io.OutputStream
nullOutputStream
-
Field Details
-
BASE_DEPTH
private static final int BASE_DEPTH- See Also:
- Constant Field Values
-
logger
private final org.apache.logging.log4j.Logger logger
-
-
Constructor Details
-
TracingPrintStream
-
-
Method Details
-
log
-
getPrefix
-
println
- Overrides:
println
in classPrintStream
-
println
- Overrides:
println
in classPrintStream
-
println
public void println(boolean x)- Overrides:
println
in classPrintStream
-
println
public void println(char x)- Overrides:
println
in classPrintStream
-
println
public void println(int x)- Overrides:
println
in classPrintStream
-
println
public void println(long x)- Overrides:
println
in classPrintStream
-
println
public void println(float x)- Overrides:
println
in classPrintStream
-
println
public void println(double x)- Overrides:
println
in classPrintStream
-
println
public void println(char[] x)- Overrides:
println
in classPrintStream
-