-
Notifications
You must be signed in to change notification settings - Fork 775
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
Add a console dependency injection logging project to docs section #6014
base: main
Are you sure you want to change the base?
Add a console dependency injection logging project to docs section #6014
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6014 +/- ##
==========================================
- Coverage 86.31% 86.28% -0.04%
==========================================
Files 257 257
Lines 11685 11685
==========================================
- Hits 10086 10082 -4
- Misses 1599 1603 +4
Flags with carried forward coverage won't be shown. Click here to find out more. |
@@ -0,0 +1,3 @@ | |||
# Console Application with Dependency Injection | |||
|
|||
This example shows how create a console application with Dependency Injection via `ServiceCollection`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is something OTel should document. It shows getting started guides for simple console app and asp.net core (which implicitly cover DI). It is not recommended to keep expanding the amount of examples in this repo, unless there is a strong reason to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR was marked stale due to lack of activity and will be closed in 7 days. Commenting or pushing will instruct the bot to automatically remove the label. This bot runs once per day. |
Changes
Add a console dependency injection example for logging.
Merge requirement checklist