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