Table of Contents

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

message object

The message to log.

context Object

Optional 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)

Parameters

type string

A prefix string, typically a category or system name.

message object

The message to log.

context Object

Optional Unity Object context for the log message.