Package zombie.debug
Class DebugLog
java.lang.Object
zombie.debug.DebugLog
public final class DebugLog
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static DebugLogStream
ActionSystem
static DebugLogStream
Animation
static DebugLogStream
Asset
static DebugLogStream
Clothing
static DebugLogStream
Combat
static DebugLogStream
FileIO
static DebugLogStream
Fireplace
static DebugLogStream
General
static DebugLogStream
Input
static DebugLogStream
IsoRegion
static DebugLogStream
Lua
static DebugLogStream
MapLoading
static DebugLogStream
Mod
static DebugLogStream
Multiplayer
static DebugLogStream
Network
static DebugLogStream
NetworkFileDebug
static DebugLogStream
NetworkPacketDebug
static DebugLogStream
Objects
static boolean
printServerTime
static DebugLogStream
Radio
static DebugLogStream
Recipe
static DebugLogStream
Script
static DebugLogStream
Shader
static DebugLogStream
Sound
static DebugLogStream
Statistic
static DebugLogStream
UnitTests
static DebugLogStream
Vehicle
static int
VERSION
static DebugLogStream
Zombie
-
Constructor Summary
Constructors Constructor Description DebugLog()
-
Method Summary
Modifier and Type Method Description static void
disableLog(DebugType debugType)
static void
enableLog(DebugType debugType)
static java.lang.String
formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2)
static java.lang.String
formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2)
static java.lang.String
formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2, java.lang.Object object3)
static java.lang.String
formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4)
static java.lang.String
formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5)
static java.lang.String
formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6)
static java.lang.String
formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6, java.lang.Object object7)
static java.lang.String
formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, 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)
static java.lang.String
formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, 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)
static java.lang.String
formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, 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, java.lang.Object object10)
static java.lang.String
formatStringVarArgs(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object[] objectArray)
static java.util.ArrayList
getDebugTypes()
static void
init()
static boolean
isEnabled(DebugType debugType)
static boolean
isLogEnabled(LogSeverity logSeverity, DebugType debugType)
static void
load()
static void
log(java.lang.Object object)
static void
log(java.lang.String string)
static void
log(DebugType debugType, java.lang.String string)
static void
save()
static void
setLogEnabled(DebugType debugType, boolean boolean1)
static void
setStdErr(java.io.OutputStream outputStream)
static void
setStdOut(java.io.OutputStream outputStream)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
printServerTime
public static boolean printServerTime -
Asset
-
NetworkPacketDebug
-
NetworkFileDebug
-
Network
-
General
-
Lua
-
Mod
-
Sound
-
Zombie
-
Combat
-
Objects
-
Fireplace
-
Radio
-
MapLoading
-
Clothing
-
Animation
-
Script
-
Shader
-
Input
-
Recipe
-
ActionSystem
-
IsoRegion
-
UnitTests
-
FileIO
-
Multiplayer
-
Statistic
-
Vehicle
-
VERSION
public static final int VERSION- See Also:
- Constant Field Values
-
-
Constructor Details
-
DebugLog
public DebugLog()
-
-
Method Details
-
isLogEnabled
-
formatString
public static java.lang.String formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2) -
formatString
public static java.lang.String formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2) -
formatString
public static java.lang.String formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2, java.lang.Object object3) -
formatString
public static java.lang.String formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4) -
formatString
public static java.lang.String formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5) -
formatString
public static java.lang.String formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6) -
formatString
public static java.lang.String formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, java.lang.Object object5, java.lang.Object object6, java.lang.Object object7) -
formatString
public static java.lang.String formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, 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) -
formatString
public static java.lang.String formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, 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) -
formatString
public static java.lang.String formatString(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, 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, java.lang.Object object10) -
formatStringVarArgs
public static java.lang.String formatStringVarArgs(DebugType debugType, LogSeverity logSeverity, java.lang.String string, java.lang.Object object, java.lang.String string2, java.lang.Object[] objectArray) -
isEnabled
-
log
-
enableLog
-
disableLog
-
setLogEnabled
-
log
public static void log(java.lang.Object object) -
log
public static void log(java.lang.String string) -
getDebugTypes
public static java.util.ArrayList getDebugTypes() -
save
public static void save() -
load
public static void load() -
setStdOut
public static void setStdOut(java.io.OutputStream outputStream) -
setStdErr
public static void setStdErr(java.io.OutputStream outputStream) -
init
public static void init()
-