Class DebugLog
java.lang.Object
zombie.debug.DebugLog
Created by LEMMYPC on 31/12/13.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic booleanstatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final DebugTypestatic final intstatic final intstatic final intstatic final DebugTypestatic final DebugType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DebugLogStreamcreateLogStream(DebugType debugType) static voidechoExceptionLineToLogFiles(LogSeverity logSeverity, String messageType, String outString) static voidechoToLogFiles(LogSeverity logSeverity, String outString) static voidenableLog(DebugType type, LogSeverity severity) static StringformatString(DebugType type, LogSeverity logSeverity, Object affix, boolean allowRepeat, String formatNoParams) static StringformatString(DebugType type, LogSeverity logSeverity, Object affix, boolean allowRepeat, String format, Object... params) static StringformatStringVarArgs(DebugType type, LogSeverity logSeverity, Object affix, boolean allowRepeat, String format, Object... params) static LogSeveritygetLogLevel(DebugType type) static LogSeveritygetLogSeverity(DebugType type) static PrintStreamstatic voidinit()static booleanstatic booleanisLogEnabled(DebugType type, LogSeverity logSeverity) static booleanstatic voidload()static voidloadDebugConfig(String filepath) static voidstatic voidstatic voidstatic voidstatic voidsave()static voidstatic voidsetLogEnabled(DebugType type, boolean bEnabled) static voidsetLogSeverity(DebugType type, LogSeverity logSeverity) static voidsetRecordingOut(PrintStream recordingOut) static voidsetStdErr(OutputStream out) static voidsetStdOut(OutputStream out)
-
Field Details
-
printServerTime
public static boolean printServerTime -
Entity
-
General
-
DetailedInfo
-
Lua
-
MapLoading
-
Mod
-
Multiplayer
-
Network
-
NetworkFileDebug
-
Objects
-
Radio
-
Recipe
-
Script
-
Shader
-
Sound
-
Vehicle
-
Voice
-
Zombie
-
Animal
-
CraftLogic
-
Action
-
Grapple
-
VERSION1
public static final int VERSION1- See Also:
-
VERSION2
public static final int VERSION2- See Also:
-
VERSION
public static final int VERSION- See Also:
-
-
Constructor Details
-
DebugLog
public DebugLog()
-
-
Method Details
-
setDefaultLogSeverity
public static void setDefaultLogSeverity() -
printLogLevels
public static void printLogLevels() -
enableLog
-
getLogLevel
-
getLogSeverity
-
setLogSeverity
-
isEnabled
-
isLogEnabled
-
formatString
public static String formatString(DebugType type, LogSeverity logSeverity, Object affix, boolean allowRepeat, String formatNoParams) -
formatString
-
formatStringVarArgs
-
echoToLogFiles
-
echoExceptionLineToLogFiles
public static void echoExceptionLineToLogFiles(LogSeverity logSeverity, String messageType, String outString) -
log
-
setLogEnabled
-
log
-
getDebugTypes
-
save
public static void save() -
load
public static void load() -
isLogTraceFileLocationEnabled
public static boolean isLogTraceFileLocationEnabled() -
getRecordingOut
-
setRecordingOut
-
createLogStream
-
setStdOut
-
setStdErr
-
init
public static void init() -
loadDebugConfig
-
nativeLog
-