Method LogError
- Namespace
- Gamelogic.Extensions
- Assembly
- Gamelogic.Extensions.dll
LogError(object, Object)
Logs an error message to the Unity console (only in DEBUG builds).
[Conditional("DEBUG")]
public static void LogError(object message, Object context = null)
Parameters
messageobjectThe message to log.
contextObjectOptional Unity Object context for the log message.
LogError(string, object, Object)
Logs a prefixed error message to the Unity console (only in DEBUG builds).
[Conditional("DEBUG")]
public static void LogError(string type, object message, Object context = null)