Skip to content

Conversation

@olibanjoli
Copy link

The log API with LogEventInfo to attach properties to log messages is a bit cumbersome since the caller needs to know all properties to add them.

To keep our short log statements (direct Info(), Debug(), Error(), Trace() calls) I added support for MappedDiagnosticsContext and GlobalDiagnosticsContext. You can specify in the target which items should get attached.

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.

1 participant