ASP.NET MVC 6.3.16
Demos Support Blog Download
Show / Hide Table of Contents
PDF

Interface IReportLogger

The IReportLogger interface is used in the application to log report processing messages

Namespace: BoldReports.Web
Assembly: BoldReports.Web.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.

In This Article
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
×
SEND FEEDBACK REGARDING THIS TOPIC

Please provide additional information

Please provide additional information

Please provide additional information

Please provide additional information
Please provide additional information
Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved