Debug.Log Extensions
Documentation (1.1.9)

◆ Log() [17/21]

static void Debug.Log ( string  prefix,
object  arg,
params object[]  args 

Logs a message to the Console consisting of a prefix text string followed by the values of args zero or more objects separated by a separator character.

A comma will be used for the separator character with shorter messages and a line break with longer messages.

public void TestLog123()
Debug.Log("Test: ", 1, 2, 3);
static void Log([CanBeNull]object message)
Logs a message to the Console.
Definition: Debug.cs:168
Extended version of the built-in Debug class with additional methods to ease debugging while developi...
Definition: Debug.cs:34
prefixPrefix text for the message.
argFirst listed element after the prefix.
args(Optional) Additional listed elements after the prefix.