stevejgordon / CorrelationId

An ASP.NET Core middleware component which synchronises a correlation ID for cross API request logging.
MIT License
558 stars 106 forks source link

EventId Typo #105

Open JoeCummingsZuto opened 2 years ago

JoeCummingsZuto commented 2 years ago

Hello.

Noticed what appears to be a typo here for the event FoundCorrelationIdHeader https://github.com/stevejgordon/CorrelationId/blob/c4e24b5e3c82703492786eecf0b7802828abf339/src/CorrelationId/CorrelationIdMiddleware.cs#L158

The event name is being set as EnforcedCorrelationIdHeaderMissing on ctor which has/can cause confusion in logs.