ILogWithExceptionExtensions
Assembly: ServiceStack.Interfaces.dll
View Source
public static class ILogWithExceptionExtensions
Methods
Debug(ILog, Exception, String, Object[])
Logs a Debug format message and exception.
View Source
public static void Debug(this ILog logger, Exception exception, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
ServiceStack.Logging.ILog | logger | The logger |
|
| System.Exception
| exception | Exception related to the event.
|
| System.String
| format | The format.
|
| System.Object[]
| args | The args.
|
Info(ILog, Exception, String, Object[])
Logs an Info format message and exception.
View Source
public static void Info(this ILog logger, Exception exception, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
ServiceStack.Logging.ILog | logger | The logger |
|
| System.Exception
| exception | Exception related to the event.
|
| System.String
| format | The format.
|
| System.Object[]
| args | The args.
|
Warn(ILog, Exception, String, Object[])
Logs a Warn format message and exception.
View Source
public static void Warn(this ILog logger, Exception exception, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
ServiceStack.Logging.ILog | logger | The logger |
|
| System.Exception
| exception | Exception related to the event.
|
| System.String
| format | The format.
|
| System.Object[]
| args | The args.
|
Error(ILog, Exception, String, Object[])
Logs an Error format message and exception.
View Source
public static void Error(this ILog logger, Exception exception, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
ServiceStack.Logging.ILog | logger | The logger |
|
| System.Exception
| exception | Exception related to the event.
|
| System.String
| format | The format.
|
| System.Object[]
| args | The args.
|
Fatal(ILog, Exception, String, Object[])
Logs a Fatal format message and exception.
View Source
public static void Fatal(this ILog logger, Exception exception, string format, params object[] args)
Parameters
Type | Name | Description |
---|---|---|
ServiceStack.Logging.ILog | logger | The logger |
|
| System.Exception
| exception | Exception related to the event.
|
| System.String
| format | The format.
|
| System.Object[]
| args | The args.
|