Scope improvements
hvetter-de opened this issue · 1 comments
hvetter-de commented
We want to make improvements to the scope.
In many applications we have an ActivityId, this ActivityIds needs to be saved in an own column.
The user can pass a Dictionary<string, object>
to the BeginScope method.
This is saved to the scope, when the Logger logs we iterate trough the scope and just .ToString() the value.
We need to add a check here if we are dealing with a dictionary.
If we are dealing with a dictionary following should happen:
- Map Keys to the columns and insert the value
hvetter-de commented
Implemented in b8263d0