Class Log
debug log output
public class Log
Inheritance
Methods
Error(string)
Logs an error message to the Unity console using Object).
[Conditional("DEVELOPMENT")]
public static void Error(string message)
Parameters
| Name | Type | Description |
|---|---|---|
message | string | The 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
| Name | Type | Description |
|---|---|---|
message | string | The text to log as an error in the console. |
context | Object | Object 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
| Name | Type | Description |
|---|---|---|
message | string | The 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
| Name | Type | Description |
|---|---|---|
message | string | The text to log in the console. |
context | Object | Object 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
| Name | Type | Description |
|---|---|---|
message | string | The 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
| Name | Type | Description |
|---|---|---|
message | string | The text to log as a warning in the console. |
context | Object | Object to which the message applies.. |