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

feat: add 'AddSerilog' extension overload with 'IServiceProvider' #482

Conversation

stijnmoreels
Copy link
Member

Add logging.AddSerilog overload that can take in an IServiceProvider so that we can add our correlation enricher more easily in in-process Azure Functions environments.

Closes #481

@netlify
Copy link

netlify bot commented Nov 8, 2022

Deploy Preview for arcus-observability ready!

Name Link
🔨 Latest commit f0dca68
🔍 Latest deploy log https://app.netlify.com/sites/arcus-observability/deploys/636ddde84cbbd300088661cc
😎 Deploy Preview https://deploy-preview-482--arcus-observability.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@fgheysels fgheysels assigned stijnmoreels and unassigned fgheysels Nov 10, 2022
…ights/Extensions/ILoggingBuilderExtensions.cs

Co-authored-by: Frederik Gheysels <[email protected]>
@stijnmoreels stijnmoreels merged commit 07159c7 into arcus-azure:master Nov 11, 2022
@stijnmoreels stijnmoreels deleted the feature/addserilog-w-serviceprovider branch November 11, 2022 06:19
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.

Add additional .AddSerilog extension that takes in an implementation factory function with IServiceProvider
2 participants