Umbraco should drop support of static access to logger #14878
bielu
started this conversation in
Features and ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With umbraco v9, umbraco started using Microsoft.Extensions.Logging.Abstractions, which is great as allows to swap logger to any logging solution, not just serilog. but when reviewing code I noticed multiple cases of accesing serilog through static accessor, which means we are tied to specific implementation.
I tried to figure out why it was done, but I would assume it is left over from v8, as not seeing any reason for it in v9+.
Beta Was this translation helpful? Give feedback.
All reactions