Class i5Debug
Logger class for writing messages to the console
Inheritance
object
i5Debug
Namespace: i5.Toolkit.Core.Utilities
Assembly: cs.temp.dll.dll
Syntax
public static class i5Debug
Methods
Log(object, MonoBehaviour)
Logs a formatted message to the Unity console
Declaration
public static void Log(object message, MonoBehaviour sender)
Parameters
Type | Name | Description |
---|---|---|
object | message | The message to log |
MonoBehaviour | sender | The sender of the message |
Log(object, object)
Logs a formatted message to the Unity console
Declaration
public static void Log(object message, object sender)
Parameters
Type | Name | Description |
---|---|---|
object | message | The message to log |
object | sender | The sender of the message |
LogError(object, MonoBehaviour)
Logs a formatted error message to the Unity console
Declaration
public static void LogError(object message, MonoBehaviour sender)
Parameters
Type | Name | Description |
---|---|---|
object | message | The message to log |
MonoBehaviour | sender | The sender of the message |
LogError(object, object)
Logs a formatted error message to the Unity console
Declaration
public static void LogError(object message, object sender)
Parameters
Type | Name | Description |
---|---|---|
object | message | The message to log |
object | sender | The sender of the message |
LogWarning(object, MonoBehaviour)
Logs a formatted warning message to the Unity console
Declaration
public static void LogWarning(object message, MonoBehaviour sender)
Parameters
Type | Name | Description |
---|---|---|
object | message | The message to log |
MonoBehaviour | sender | The sender of the message |
LogWarning(object, object)
Logs a formatted warning message to the Unity console
Declaration
public static void LogWarning(object message, object sender)
Parameters
Type | Name | Description |
---|---|---|
object | message | The message to log |
object | sender | The sender of the message |