Class DebugLog

java.lang.Object
zombie.debug.DebugLog

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

    • printServerTime

      public static boolean printServerTime
    • Entity

      public static final DebugType Entity
    • General

      public static final DebugType General
    • DetailedInfo

      public static final DebugType DetailedInfo
    • Lua

      public static final DebugType Lua
    • MapLoading

      public static final DebugType MapLoading
    • Mod

      public static final DebugType Mod
    • Multiplayer

      public static final DebugType Multiplayer
    • Network

      public static final DebugType Network
    • NetworkFileDebug

      public static final DebugType NetworkFileDebug
    • Objects

      public static final DebugType Objects
    • Radio

      public static final DebugType Radio
    • Recipe

      public static final DebugType Recipe
    • Script

      public static final DebugType Script
    • Shader

      public static final DebugType Shader
    • Sound

      public static final DebugType Sound
    • Vehicle

      public static final DebugType Vehicle
    • Voice

      public static final DebugType Voice
    • Zombie

      public static final DebugType Zombie
    • Animal

      public static final DebugType Animal
    • CraftLogic

      public static final DebugType CraftLogic
    • Action

      public static final DebugType Action
    • Grapple

      public static final DebugType 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

      public static void enableLog(DebugType type, LogSeverity severity)
    • getLogLevel

      public static LogSeverity getLogLevel(DebugType type)
    • getLogSeverity

      public static LogSeverity getLogSeverity(DebugType type)
    • setLogSeverity

      public static void setLogSeverity(DebugType type, LogSeverity logSeverity)
    • isEnabled

      public static boolean isEnabled(DebugType type)
    • isLogEnabled

      public static boolean isLogEnabled(DebugType type, LogSeverity logSeverity)
    • formatString

      public static String formatString(DebugType type, LogSeverity logSeverity, Object affix, boolean allowRepeat, String formatNoParams)
    • formatString

      public static String formatString(DebugType type, LogSeverity logSeverity, Object affix, boolean allowRepeat, String format, Object... params)
    • formatStringVarArgs

      public static String formatStringVarArgs(DebugType type, LogSeverity logSeverity, Object affix, boolean allowRepeat, String format, Object... params)
    • echoToLogFiles

      public static void echoToLogFiles(LogSeverity logSeverity, String outString)
    • echoExceptionLineToLogFiles

      public static void echoExceptionLineToLogFiles(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()
    • save

      public static void save()
    • load

      public static void load()
    • isLogTraceFileLocationEnabled

      public static boolean isLogTraceFileLocationEnabled()
    • getRecordingOut

      public static PrintStream getRecordingOut()
    • setRecordingOut

      public static void setRecordingOut(PrintStream recordingOut)
    • createLogStream

      public static DebugLogStream createLogStream(DebugType debugType)
    • setStdOut

      public static void setStdOut(OutputStream out)
    • setStdErr

      public static void setStdErr(OutputStream out)
    • init

      public static void init()
    • loadDebugConfig

      public static void loadDebugConfig(String filepath)
    • nativeLog

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