Skip to content

Conversation

@nblumhardt
Copy link
Member

@nblumhardt nblumhardt commented Oct 7, 2019

nblumhardt and others added 24 commits August 19, 2019 08:28
…st-logging-middleware

Adding source context for the logging in RequestLoggingMiddleware.
…eware

FEATUREL add new dependency injection overloads to offer more flexibility while configuring options
FEATURE: use default empty overload in sample
FEATURE: rename GetLogEventLevel to GetLogLevel
…standards

REFACTORING: renamed GetLogLevel to GetLevel
… is useful when an exception is thrown but HttpStatusCode is not yet set to 500 InternalServerError

FIX: DefaultGetLevel now returns Error if there is an exception OR if StatusCode > 499
The current documentation recommends overriding the logging level for the entire Microsoft namespace, but this also suppresses logging for other Microsoft products, such as Entity Framework Core. Suggest updating this to recommend overriding Microsoft.AspNetCore instead.
Update docs on disabling built-in logging
Ability to customize LogEventLevel used in UseSerilogRequestLogging middleware
Updated examples to .NET Core 3
Fix a typo in README.md [skip ci]
Include 'double elapsedMs' in the function signature of the GetLevel delegate
@nblumhardt nblumhardt marked this pull request as ready for review October 12, 2019 18:44
@nblumhardt nblumhardt merged commit 60e7df3 into master Oct 14, 2019
@alexmg
Copy link

alexmg commented Oct 16, 2019

Solid point release! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants