Table of Contents

Method LogWarning

Namespace
Gamelogic.Extensions
Assembly
Gamelogic.Extensions.dll

LogWarning(object, Object)

Logs a warning message to the Unity console (only in DEBUG builds).

[Conditional("DEBUG")]
public static void LogWarning(object message, Object context = null)

Parameters

message object

The message to log.

context Object

Optional Unity Object context for the log message.

LogWarning(string, object, Object)

Logs a prefixed warning message to the Unity console (only in DEBUG builds).

[Conditional("DEBUG")]
public static void LogWarning(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.