Class DebugLog
java.lang.Object
zombie.debug.DebugLog
Created by LEMMYPC on 31/12/13.
-
Method Summary
Modifier and TypeMethodDescriptioncreateLogStream(DebugType debugType) voidechoExceptionLineToLogFiles(DebugType debugType, LogSeverity logSeverity, String messageType, String outString) voidechoToLogFiles(DebugType debugType, LogSeverity logSeverity, String callerAffix, String rawOutString) formatLogStringAnimationRecordingFile(DebugType debugType, LogSeverity logSeverity, String callerAffix, Object outputStr) formatLogStringForConsole(DebugType debugType, LogSeverity logSeverity, String callerAffix, Object outputStr) formatLogStringForLogFile(DebugType debugType, LogSeverity logSeverity, String callerAffix, Object outputStr) static DebugLogvoidinit()static booleanstatic booleanisLogEnabled(DebugType type, LogSeverity logSeverity) booleanbooleanvoidloadDebugConfig(String filepath) static voidstatic voidstatic voidstatic voidstatic voidstatic voidsetLogEnabled(DebugType type, boolean bEnabled) voidsetLogServerTimeMsEnabled(boolean logServerTimeMsEnabled) voidsetRecordingOut(PrintStream recordingOut) voidsetStdErr(OutputStream out) voidsetStdOut(OutputStream out) booleanboolean
-
Method Details
-
getInstance
-
setDefaultLogSeverity
public static void setDefaultLogSeverity() -
printLogLevels
public static void printLogLevels() -
isEnabled
-
isLogEnabled
-
formatLogStringForConsole
public String formatLogStringForConsole(DebugType debugType, LogSeverity logSeverity, String callerAffix, Object outputStr) -
formatLogStringForLogFile
public String formatLogStringForLogFile(DebugType debugType, LogSeverity logSeverity, String callerAffix, Object outputStr) -
formatLogStringAnimationRecordingFile
public String formatLogStringAnimationRecordingFile(DebugType debugType, LogSeverity logSeverity, String callerAffix, Object outputStr) -
echoToLogFiles
public void echoToLogFiles(DebugType debugType, LogSeverity logSeverity, String callerAffix, String rawOutString) -
echoExceptionLineToLogFiles
public void echoExceptionLineToLogFiles(DebugType debugType, LogSeverity logSeverity, String messageType, String outString) -
log
-
setLogEnabled
-
log
-
getDebugTypes
-
isLogTraceFileLocationEnabled
public boolean isLogTraceFileLocationEnabled() -
shouldLogIncludeTimeMs
public boolean shouldLogIncludeTimeMs() -
shouldLogIncludeServerTime
public boolean shouldLogIncludeServerTime() -
getRecordingOut
-
setRecordingOut
-
createLogStream
-
isLogServerTimeMsEnabled
public boolean isLogServerTimeMsEnabled() -
setLogServerTimeMsEnabled
public void setLogServerTimeMsEnabled(boolean logServerTimeMsEnabled) -
setStdOut
-
setStdErr
-
init
public void init() -
loadDebugConfig
-
nativeLog
-