Log.Assertion
Static Method in Log
Declaration
public static void Assertion(object message)
Description
Logs an assertion message to the Unity console.
Parameters
message | The message to log. |
Overload
Declaration
public static void Assertion(object message, string prefix)
Description
Logs an assertion message to the Unity console with a custom prefix.
Parameters
message | The message to log. |
prefix | The prefix of the message. |
Overload
Declaration
public static void Assertion(object message, UnityEngine.Object context)
Description
Logs an assertion message to the Unity console under a given context.
Parameters
message | The message to log. |
context | The context of the message. |
Overload
Declaration
public static void Assertion(object message, string prefix, UnityEngine.Object context)
Description
Logs an assertion message to the Unity console with a custom prefix under a given context.
Parameters
message | The message to log. |
prefix | The prefix of the message. |
context | The context of the message. |
Overload
Declaration
public static void Assertion(params object[] messages)
Description
Logs multiple assertion messages as a single message to the Unity console.
Parameters
messages | The messages to log. |