Interface IReportLogger
The IReportLogger interface is used in the application to log report processing messages
Namespace: BoldReports.Windows
Assembly: BoldReports.Wpf.dll
Syntax
public interface IReportLogger
Methods
LogError(String, Exception, MethodBase, ErrorType)
Logs an error with the message, type, and method info.
Declaration
void LogError(string message, Exception exception, MethodBase methodType, ErrorType errorType)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | A string that specifies the error message. |
System.Exception | exception | An Exception object that specifies the exception that is raised. |
System.Reflection.MethodBase | methodType | Provides information about current method. |
ErrorType | errorType | Indicates the message is an error or information |
LogError(String, String, Exception, String, String, String)
Logs an error with the code, message, type, class name, and exception info.
Declaration
void LogError(string errorCode, string message, Exception exception, string errorDetail, string methodName, string className)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorCode | The code of an error. |
System.String | message | A string that specifies the error message. |
System.Exception | exception | An Exception object that specifies the exception that is raised. |
System.String | errorDetail | Contains detailed information about the error. |
System.String | methodName | The name of the error occurred method. |
System.String | className | The name of the error occurred class. |