Package zombie.debug
Class DebugLogStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
java.io.PrintStream
zombie.debug.DebugLogStream
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.Appendable
,java.lang.AutoCloseable
public final class DebugLogStream
extends java.io.PrintStream
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
s_prefixDebug
static java.lang.String
s_prefixErr
static java.lang.String
s_prefixOut
static java.lang.String
s_prefixWarn
Fields inherited from class java.io.FilterOutputStream
out
-
Constructor Summary
Constructors Constructor Description DebugLogStream(java.io.PrintStream printStream, java.io.PrintStream printStream2, java.io.PrintStream printStream3, IDebugLogFormatter iDebugLogFormatter)
-
Method Summary
Modifier and Type Method Description void
debugln(java.lang.String string)
void
debugln(java.lang.String string, java.lang.Object object)
void
debugln(java.lang.String string, java.lang.Object object, java.lang.Object object2)
void
debugln(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3)
void
debugln(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4)
void
debugln(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5)
void
debugln(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6)
void
error(java.lang.Object object)
void
error(java.lang.String string, java.lang.Object[] objectArray)
static java.lang.String
generateCallerPrefix()
static java.lang.String
getStackTraceElementString(java.lang.StackTraceElement stackTraceElement, boolean boolean1)
static java.lang.String
getTopStackTraceString(java.lang.Throwable throwable)
void
print(boolean boolean1)
void
print(char char1)
void
print(double double1)
void
print(float float1)
void
print(int int1)
void
print(long long1)
void
print(java.lang.Object object)
void
print(java.lang.String string)
void
printException(java.lang.Throwable throwable, java.lang.String string, java.lang.String string2, LogSeverity logSeverity)
void
printException(java.lang.Throwable throwable, java.lang.String string, LogSeverity logSeverity)
java.io.PrintStream
printf(java.lang.String string, java.lang.Object[] objectArray)
void
println()
void
println(boolean boolean1)
void
println(char char1)
void
println(char[] charArray)
void
println(double double1)
void
println(float float1)
void
println(int int1)
void
println(long long1)
void
println(java.lang.Object object)
void
println(java.lang.String string)
void
println(java.lang.String string, java.lang.Object object)
void
println(java.lang.String string, java.lang.Object object, java.lang.Object object2)
void
println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3)
void
println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4)
void
println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5)
void
println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6)
void
println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6, java.lang.Object object7)
void
println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6, java.lang.Object object7, java.lang.Object object8)
void
println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6, java.lang.Object object7, java.lang.Object object8, java.lang.Object object9)
void
printStackTrace()
void
printStackTrace(int int1)
void
printUnitTest(java.lang.String string, boolean boolean1, java.lang.Object[] objectArray)
static java.lang.StackTraceElement
tryGetCallerTraceElement(int int1)
void
warn(java.lang.Object object)
void
warn(java.lang.String string, java.lang.Object[] objectArray)
Methods inherited from class java.io.PrintStream
append, append, append, checkError, clearError, close, flush, format, format, print, printf, setError, write, write, write, writeBytes
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 Details
-
s_prefixErr
public static final java.lang.String s_prefixErr- See Also:
- Constant Field Values
-
s_prefixWarn
public static final java.lang.String s_prefixWarn- See Also:
- Constant Field Values
-
s_prefixOut
public static final java.lang.String s_prefixOut- See Also:
- Constant Field Values
-
s_prefixDebug
public static final java.lang.String s_prefixDebug- See Also:
- Constant Field Values
-
-
Constructor Details
-
DebugLogStream
public DebugLogStream(java.io.PrintStream printStream, java.io.PrintStream printStream2, java.io.PrintStream printStream3, IDebugLogFormatter iDebugLogFormatter)
-
-
Method Details
-
generateCallerPrefix
public static java.lang.String generateCallerPrefix() -
tryGetCallerTraceElement
public static java.lang.StackTraceElement tryGetCallerTraceElement(int int1) -
getStackTraceElementString
public static java.lang.String getStackTraceElementString(java.lang.StackTraceElement stackTraceElement, boolean boolean1) -
getTopStackTraceString
public static java.lang.String getTopStackTraceString(java.lang.Throwable throwable) -
printStackTrace
public void printStackTrace() -
printStackTrace
public void printStackTrace(int int1) -
debugln
public void debugln(java.lang.String string) -
debugln
public void debugln(java.lang.String string, java.lang.Object object) -
debugln
public void debugln(java.lang.String string, java.lang.Object object, java.lang.Object object2) -
debugln
public void debugln(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3) -
debugln
public void debugln(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4) -
debugln
public void debugln(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5) -
debugln
public void debugln(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6) -
print
public void print(boolean boolean1)- Overrides:
print
in classjava.io.PrintStream
-
print
public void print(char char1)- Overrides:
print
in classjava.io.PrintStream
-
print
public void print(int int1)- Overrides:
print
in classjava.io.PrintStream
-
print
public void print(long long1)- Overrides:
print
in classjava.io.PrintStream
-
print
public void print(float float1)- Overrides:
print
in classjava.io.PrintStream
-
print
public void print(double double1)- Overrides:
print
in classjava.io.PrintStream
-
print
public void print(java.lang.String string)- Overrides:
print
in classjava.io.PrintStream
-
print
public void print(java.lang.Object object)- Overrides:
print
in classjava.io.PrintStream
-
printf
public java.io.PrintStream printf(java.lang.String string, java.lang.Object[] objectArray)- Overrides:
printf
in classjava.io.PrintStream
-
println
public void println()- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(boolean boolean1)- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(char char1)- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(int int1)- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(long long1)- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(float float1)- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(double double1)- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(char[] charArray)- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(java.lang.String string)- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(java.lang.Object object)- Overrides:
println
in classjava.io.PrintStream
-
println
public void println(java.lang.String string, java.lang.Object object) -
println
public void println(java.lang.String string, java.lang.Object object, java.lang.Object object2) -
println
public void println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3) -
println
public void println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4) -
println
public void println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5) -
println
public void println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6) -
println
public void println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6, java.lang.Object object7) -
println
public void println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6, java.lang.Object object7, java.lang.Object object8) -
println
public void println(java.lang.String string, java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6, java.lang.Object object7, java.lang.Object object8, java.lang.Object object9) -
error
public void error(java.lang.Object object) -
error
public void error(java.lang.String string, java.lang.Object[] objectArray) -
warn
public void warn(java.lang.Object object) -
warn
public void warn(java.lang.String string, java.lang.Object[] objectArray) -
printUnitTest
public void printUnitTest(java.lang.String string, boolean boolean1, java.lang.Object[] objectArray) -
printException
public void printException(java.lang.Throwable throwable, java.lang.String string, LogSeverity logSeverity) -
printException
public void printException(java.lang.Throwable throwable, java.lang.String string, java.lang.String string2, LogSeverity logSeverity)
-