Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

weitzhandler
Copy link
Member

@weitzhandler weitzhandler commented Apr 24, 2020

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