Class DebugLog

java.lang.Object
zombie.debug.DebugLog

public final class DebugLog extends Object
Created by LEMMYPC on 31/12/13.
  • Method Details

    • getInstance

      public static DebugLog getInstance()
    • setDefaultLogSeverity

      public static void setDefaultLogSeverity()
    • printLogLevels

      public static void printLogLevels()
    • isEnabled

      public static boolean isEnabled(DebugType type)
    • isLogEnabled

      public static boolean isLogEnabled(DebugType type, LogSeverity logSeverity)
    • 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

      public static void log(DebugType type, String str)
    • setLogEnabled

      public static void setLogEnabled(DebugType type, boolean bEnabled)
    • log

      public static void log(String str)
    • getDebugTypes

      public static ArrayList<DebugType> getDebugTypes()
    • isLogTraceFileLocationEnabled

      public boolean isLogTraceFileLocationEnabled()
    • shouldLogIncludeTimeMs

      public boolean shouldLogIncludeTimeMs()
    • shouldLogIncludeServerTime

      public boolean shouldLogIncludeServerTime()
    • getRecordingOut

      public PrintStream getRecordingOut()
    • setRecordingOut

      public void setRecordingOut(PrintStream recordingOut)
    • createLogStream

      public DebugLogStream createLogStream(DebugType debugType)
    • isLogServerTimeMsEnabled

      public boolean isLogServerTimeMsEnabled()
    • setLogServerTimeMsEnabled

      public void setLogServerTimeMsEnabled(boolean logServerTimeMsEnabled)
    • setStdOut

      public void setStdOut(OutputStream out)
    • setStdErr

      public void setStdErr(OutputStream out)
    • init

      public void init()
    • loadDebugConfig

      public void loadDebugConfig(String filepath)
    • nativeLog

      public static void nativeLog(String logType, String logSeverity, String logTxt)