Interface ILogger
Interface used as an extra layer when sending debug logs
Namespace: Doozy.Runtime.Common
Assembly: cs.temp.dll.dll
Syntax
public interface ILogger
Methods
Log(Object)
Log a message to the console
Declaration
void Log(object message)
Parameters
Type | Name | Description |
---|---|---|
Object | message | String or object to be converted to string representation for display |
Log(Object, Object)
Log a message to the console
Declaration
void Log(object message, Object context)
Parameters
Type | Name | Description |
---|---|---|
Object | message | String or object to be converted to string representation for display |
Object | context | Object to which the message applies |
LogError(Object)
Log an error message to the console
Declaration
void LogError(object message)
Parameters
Type | Name | Description |
---|---|---|
Object | message | String or object to be converted to string representation for display |
LogError(Object, Object)
Log an error message to the console
Declaration
void LogError(object message, Object context)
Parameters
Type | Name | Description |
---|---|---|
Object | message | String or object to be converted to string representation for display |
Object | context | Object to which the message applies |
LogWarning(Object)
Log a warning message to the console
Declaration
void LogWarning(object message)
Parameters
Type | Name | Description |
---|---|---|
Object | message | String or object to be converted to string representation for display |
LogWarning(Object, Object)
Log a warning message to the console
Declaration
void LogWarning(object message, Object context)
Parameters
Type | Name | Description |
---|---|---|
Object | message | String or object to be converted to string representation for display |
Object | context | Object to which the message applies |