Skip to main content

Class Log

debug log output

public class Log

Inheritance​

object→Log

Methods​

Error(string)​

Logs an error message to the Unity console using Object).

[Conditional("DEVELOPMENT")]
public static void Error(string message)

Parameters​

NameTypeDescription
messagestringThe text to log as an error in the console.

Error(string, Object)​

Logs an error message to the Unity console using Object) with context.

[Conditional("DEVELOPMENT")]
public static void Error(string message, Object context)

Parameters​

NameTypeDescription
messagestringThe text to log as an error in the console.
contextObjectObject to which the message applies..

Normal(string)​

Logs a normal message to the Unity console using Object).

[Conditional("DEVELOPMENT")]
public static void Normal(string message)

Parameters​

NameTypeDescription
messagestringThe text to log in the console.

Normal(string, Object)​

Logs a normal message to the Unity console using Object) with context.

[Conditional("DEVELOPMENT")]
public static void Normal(string message, Object context)

Parameters​

NameTypeDescription
messagestringThe text to log in the console.
contextObjectObject to which the message applies..

Warning(string)​

Logs a warning message to the Unity console using Object).

[Conditional("DEVELOPMENT")]
public static void Warning(string message)

Parameters​

NameTypeDescription
messagestringThe text to log as a warning in the console.

Warning(string, Object)​

Logs a warning message to the Unity console using Object) with context.

[Conditional("DEVELOPMENT")]
public static void Warning(string message, Object context)

Parameters​

NameTypeDescription
messagestringThe text to log as a warning in the console.
contextObjectObject to which the message applies..
  • Methods
    • Error(string)
    • Error(string, Object)
    • Normal(string)
    • Normal(string, Object)
    • Warning(string)
    • Warning(string, Object)