Package com.unascribed.ears.common.debug
Class EarsLog
java.lang.Object
com.unascribed.ears.common.debug.EarsLog
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddebug(EarsLog.Tag tag, String fmt) static voiddebug(EarsLog.Tag tag, String fmt, boolean arg1) static voiddebug(EarsLog.Tag tag, String fmt, double arg1) static voiddebug(EarsLog.Tag tag, String fmt, float arg1) static voiddebug(EarsLog.Tag tag, String fmt, float arg1, float arg2, float arg3) static voiddebug(EarsLog.Tag tag, String fmt, float arg1, float arg2, float arg3, float arg4) static voiddebug(EarsLog.Tag tag, String fmt, int arg1) static voiddebug(EarsLog.Tag tag, String fmt, int arg1, int arg2) static voiddebug(EarsLog.Tag tag, String fmt, int arg1, int arg2, int arg3, int arg4, boolean arg5) static voiddebug(EarsLog.Tag tag, String fmt, int arg1, int arg2, int arg3, int arg4, Object arg5, Object arg6) static voiddebug(EarsLog.Tag tag, String fmt, int arg1, int arg2, int arg3, int arg4, Object arg5, Object arg6, Object arg7) static voiddebug(EarsLog.Tag tag, String fmt, int arg1, int arg2, Object arg3) static voiddebug(EarsLog.Tag tag, String fmt, int arg1, Object arg2) static voiddebug(EarsLog.Tag tag, String fmt, int arg1, Object arg2, boolean arg3) static voiddebug(EarsLog.Tag tag, String fmt, int arg1, Object arg2, Object arg3) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, float arg2) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, float arg2, float arg3) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, float arg2, float arg3, float arg4) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, float arg2, float arg3, float arg4, float arg5) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, int arg2, int arg3, int arg4, int arg5) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, int arg2, int arg3, int arg4, int arg5, boolean arg6) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, Object arg2) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, Object arg2, float arg3) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, Object arg2, int arg3, int arg4, int arg5, int arg6) static voiddebug(EarsLog.Tag tag, String fmt, Object arg1, Object arg2, int arg3, Object arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10) static voidstatic voidstatic voidstatic voiddebugva(EarsLog.Tag tag, String fmt, Object... arg) Print a log message to the Ears log file (or stdout, if configured).static booleanshouldLog(EarsLog.Tag tag)
-
Field Details
-
DEBUG
public static final boolean DEBUG
-
-
Constructor Details
-
EarsLog
public EarsLog()
-
-
Method Details
-
shouldLog
- Returns:
trueif debugging and the given debug tag are enabled
-
debugva
Print a log message to the Ears log file (or stdout, if configured).Prefer one of the many specializations of this method that don't allocate an array; Ears tends to inject into hot paths in the Minecraft renderer, so it's good to avoid the array allocation if debugging is off.
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
-
debug
public static void debug(EarsLog.Tag tag, String fmt, float arg1, float arg2, float arg3, float arg4) -
debug
public static void debug(EarsLog.Tag tag, String fmt, Object arg1, float arg2, float arg3, float arg4) -
debug
-
debug
public static void debug(EarsLog.Tag tag, String fmt, Object arg1, float arg2, float arg3, float arg4, float arg5) -
debug
public static void debug(EarsLog.Tag tag, String fmt, Object arg1, int arg2, int arg3, int arg4, int arg5) -
debug
public static void debug(EarsLog.Tag tag, String fmt, int arg1, int arg2, int arg3, int arg4, boolean arg5) -
debug
-
debug
public static void debug(EarsLog.Tag tag, String fmt, Object arg1, int arg2, int arg3, int arg4, int arg5, boolean arg6) -
debug
public static void debug(EarsLog.Tag tag, String fmt, Object arg1, Object arg2, int arg3, int arg4, int arg5, int arg6) -
debug
public static void debug(EarsLog.Tag tag, String fmt, int arg1, int arg2, int arg3, int arg4, Object arg5, Object arg6) -
debug
public static void debug(EarsLog.Tag tag, String fmt, int arg1, int arg2, int arg3, int arg4, Object arg5, Object arg6, Object arg7) -
debug
public static void debug(EarsLog.Tag tag, String fmt, Object arg1, float arg2, float arg3, float arg4, float arg5, float arg6, float arg7, float arg8) -
debug
public static void debug(EarsLog.Tag tag, String fmt, Object arg1, Object arg2, int arg3, Object arg4, float arg5, float arg6, float arg7, float arg8, float arg9, float arg10)
-