Class ILoggerExtensions
Inheritance
System.Object
Inherited Members
Show
Syntax
public static class ILoggerExtensions
Methods
LogError(ILogger, Object)
Declaration
public static void LogError(this ILogger logger, object message)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
System.Object | message |
Assert(ILogger, Boolean, Object)
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void Assert(this ILogger logger, bool condition, object message)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
System.Boolean | condition | |
System.Object | message |
Assert(ILogger, Boolean)
Declaration
[Conditional("UNITY_ASSERTIONS")]
public static void Assert(this ILogger logger, bool condition)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
System.Boolean | condition |
LogWarning(ILogger, Object)
Declaration
public static void LogWarning(this ILogger logger, object message)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
System.Object | message |
LogEnabled(ILogger)
Declaration
public static bool LogEnabled(this ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
Returns
Type | Description |
---|---|
System.Boolean |
WarnEnabled(ILogger)
Declaration
public static bool WarnEnabled(this ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
Returns
Type | Description |
---|---|
System.Boolean |
ErrorEnabled(ILogger)
Declaration
public static bool ErrorEnabled(this ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger |
Returns
Type | Description |
---|---|
System.Boolean |