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

Testing with Serilog while using dependency injection with generic host #32

Open
pwm1234-sri opened this issue Dec 4, 2022 · 1 comment

Comments

@pwm1234-sri
Copy link

Thanks for your work on MELT. I have tried for a while today, but I have been unable to get a test working that uses dependency injection of serilog with a generic host. I expect this is possible, but I was unable to mimic the asp.net host logic so it would work with a generic host. Can you provide a serilog example that uses a generic host rather than an asp.net host?

@alefranz
Copy link
Owner

alefranz commented Dec 4, 2022

Hello!
Thank you for considering this library and providing feedback.
Any chance you can share a sample of what you are trying to achieve? It would help me getting back to you quickly.

Thank you!

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

No branches or pull requests

2 participants