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 DebugLogstatic LogSeveritygetLogSeverityForSelectedProfile(DebugType debugType) static Stringvoidinit()static voidinvokeProfile(String profileOrAlias) static voidstatic booleanstatic booleanisLogEnabled(DebugType type, LogSeverity logSeverity) booleanbooleanvoidloadDebugConfig(String filepath) static voidstatic voidstatic voidstatic voidvoidreadConfigCommand(String s, boolean enable) static voidstatic voidsetLogEnabled(DebugType type, boolean bEnabled) voidsetLogServerTimeMsEnabled(boolean logServerTimeMsEnabled) voidsetRecordingOut(PrintStream recordingOut) voidsetStdErr(OutputStream out) voidsetStdOut(OutputStream out) booleanbooleanstatic voidupdateSelectedProfile(DebugType debugType, LogSeverity logSeverity) static voidupdateSelectedProfileAll(LogSeverity logSeverity) static void
-
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
-
getSelectedProfileName
-
getProfileNames
-
getProfileAliases
-
getLogSeverityForSelectedProfile
-
invokeProfile
-
invokeSelectedProfile
public static void invokeSelectedProfile() -
updateSelectedProfileAll
-
updateSelectedProfile
-
writeConfigFile
- Throws:
IOException
-
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
-
readConfigCommand
-
nativeLog
-