Class GLDebug
- Namespace
- Gamelogic.Extensions
- Assembly
- Assembly-CSharp.dll
Class that contains methods useful for debugging. All methods are only compiled if the DEBUG symbol is defined.
public static class GLDebug
- Inheritance
-
GLDebug
- Inherited Members
Methods
Assert(bool, string, Object)
Check whether the condition is true, and print an error message if it is not.
[Version(1, 2, 0)]
[Conditional("DEBUG")]
public static void Assert(bool condition, string message, Object context = null)
Parameters
Log(object, Object)
[Conditional("DEBUG")]
public static void Log(object message, Object context = null)
Parameters
Log(string, object, Object)
[Conditional("DEBUG")]
public static void Log(string type, object message, Object context = null)
Parameters
LogError(object, Object)
[Conditional("DEBUG")]
public static void LogError(object message, Object context = null)
Parameters
LogError(string, object, Object)
[Conditional("DEBUG")]
public static void LogError(string type, object message, Object context = null)
Parameters
LogWarning(object, Object)
[Conditional("DEBUG")]
public static void LogWarning(object message, Object context = null)
Parameters
LogWarning(string, object, Object)
[Conditional("DEBUG")]
public static void LogWarning(string type, object message, Object context = null)