Skip to content

Attempts to resolve ILogger<T> directly from IServiceProvider first - #69

Closed
weitzhandler wants to merge 10 commits into
unoplatform:masterfrom
weitzhandler:dev/shwe/log-extension-point
Closed

weitzhandler wants to merge 10 commits into
unoplatform:masterfrom
weitzhandler:dev/shwe/log-extension-point

Conversation

@weitzhandler

@weitzhandler weitzhandler commented Apr 24, 2020 •

Copy link
Copy Markdown
Member

This PR sets the LogExtensionPoint, so that when an ILogger<T> is requested, it'll first try to retrieve it first directly from the service provider.
This way, we can keep the filtering, console/debug providers, min-log level and other logging setting to the upper app-level configuration setup using ILogginBuilder with generic-host or another third party tool.

Related: #53

@weitzhandler weitzhandler changed the title Dev/shwe/log extension point Attempts to resolve ILogger<T> directly from IServiceProvider first Apr 24, 2020
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