Simple MediatR pipeline behavior that creates a Microsoft.Extensions.Logging.ILogger scope logging start, finish and failure events including ellapsed time.
Info
| Version: | 1.0.3 |
| Author(s): | Raphael Lorenzeto de Abreu |
| Last Update: | Monday, December 16, 2019 |
| .NET Fiddle: | Create the first Fiddle |
| Project Url: | https://github.com/raphaabreu/MediatR.Behaviors.Logging.AspNetCore |
| NuGet Url: | https://www.nuget.org/packages/MediatR.Behaviors.Logging.AspNetCore |
Install
Install-Package MediatR.Behaviors.Logging.AspNetCore
dotnet add package MediatR.Behaviors.Logging.AspNetCore
paket add MediatR.Behaviors.Logging.AspNetCore
MediatR.Behaviors.Logging.AspNetCore Download (Unzip the "nupkg" after downloading)
Dependencies
- MediatR(>= 7.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions(>= 2.2.0)
- Microsoft.Extensions.Logging.Abstractions(>= 2.2.0)
- Newtonsoft.Json(>= 12.0.2)
Tags