Class LoggerExtensions
The logger extensions.
Inherited Members
Namespace: OnixS.Fix
Assembly: OnixS.Fix.Engine.dll
Syntax
public static class LoggerExtensions
Methods
Debug(ILogger, string)
Debug.
Declaration
public static void Debug(this ILogger logger, string msg)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
string | msg |
Debug(ILogger, string, params object[])
Debug.
Declaration
public static void Debug(this ILogger logger, string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
string | msg | |
object[] | args |
Error(ILogger, Exception, string)
Error.
Declaration
public static void Error(this ILogger logger, Exception ex, string msg)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
Exception | ex | |
string | msg |
Error(ILogger, string)
Error.
Declaration
public static void Error(this ILogger logger, string msg)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
string | msg |
Error(ILogger, string, params object[])
Error.
Declaration
public static void Error(this ILogger logger, string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
string | msg | |
object[] | args |
Info(ILogger, string)
TrInformationce.
Declaration
public static void Info(this ILogger logger, string msg)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
string | msg |
Info(ILogger, string, params object[])
Information.
Declaration
public static void Info(this ILogger logger, string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
string | msg | |
object[] | args |
Trace(ILogger, string)
Trace.
Declaration
public static void Trace(this ILogger logger, string msg)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
string | msg |
Trace(ILogger, string, params object[])
Trace.
Declaration
public static void Trace(this ILogger logger, string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
string | msg | |
object[] | args |
Warn(ILogger, string)
Warning.
Declaration
public static void Warn(this ILogger logger, string msg)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
string | msg |
Warn(ILogger, string, params object[])
Warning.
Declaration
public static void Warn(this ILogger logger, string msg, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
ILogger | logger | |
string | msg | |
object[] | args |