Pavalisoft.ExceptionHandling  1.0.0
An Unified API for ASP.NET Core Global Exception handling with ExceptionManager
Pavalisoft.ExceptionHandling.ExceptionLogger Class Reference

More...

Inheritance diagram for Pavalisoft.ExceptionHandling.ExceptionLogger:
Pavalisoft.ExceptionHandling.Interfaces.IExceptionLogger

Public Member Functions

 ExceptionLogger (IExceptionDataProvider exceptionDataProvider, ILogger< ExceptionLogger > exceptionLogger)
 Creates an instance of ExceptionLogger More...
 
void LogException (IErrorDetail detail, Exception ex=null)
 Logs Exception using IErrorDetail
 

Detailed Description

Constructor & Destructor Documentation

◆ ExceptionLogger()

Pavalisoft.ExceptionHandling.ExceptionLogger.ExceptionLogger ( IExceptionDataProvider  exceptionDataProvider,
ILogger< ExceptionLogger exceptionLogger 
)

Creates an instance of ExceptionLogger

Parameters
exceptionDataProviderIExceptionDataProvider
exceptionLoggerILogger used to log the exceptions

The documentation for this class was generated from the following file: