Interface IFormDataConverterLogger
Provide a mechanism to log issues and System.Exception data during conversions.
Namespace: Cqrs.WebApi.Formatters.FormMultipart.Infrastructure.Logger
Assembly: Cqrs.WebApi.dll
Syntax
public interface IFormDataConverterLogger
Methods
EnsureNoErrors()
Throw exception if errors found
Declaration
void EnsureNoErrors()
LogError(String, Exception)
Logs an error.
Declaration
void LogError(string errorPath, Exception exception)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorPath | The path to the member for which the error is being logged. |
System.Exception | exception | The exception to be logged. |
LogError(String, String)
Logs an error.
Declaration
void LogError(string errorPath, string errorMessage)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorPath | The path to the member for which the error is being logged. |
System.String | errorMessage | The error message to be logged. |