-
-
Notifications
You must be signed in to change notification settings - Fork 141
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 ILoggingBuilder extension methods #226
Conversation
wu-yafeng
commented
Mar 10, 2020
- Add ILoggingBuilder extension methods
- Markup ILoggerFactory extension methods obsolute
- Add sample codes in SampleAspNetCore
- Add ILoggingBuilder extension methods - Markup ILoggerFactory extension methods obsolute - Add sample codes in SampleAspNetCore
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.
Thanks for the PR! Could you please respond to my feedback and we'll get this merged in!
@@ -15,7 +15,7 @@ | |||
</ItemGroup> | |||
|
|||
<ItemGroup Label="Package References"> | |||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="2.2.0" /> | |||
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.2" /> |
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.
Is there any reason we can't keep using the abstractions lib and target 2.2?
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.
In order to use ILoggingBuilder
,I have to use Microsoft.Extensions.Logging
instead of Microsoft.Extensions.Logging.Abstractions
.
It seems reasonable to use 2.2 not 3.1.
src/Platforms/Exceptionless.Extensions.Logging/ExceptionlessLoggerExtensions.cs
Outdated
Show resolved
Hide resolved
src/Platforms/Exceptionless.Extensions.Logging/ExceptionlessLoggerExtensions.cs
Outdated
Show resolved
Hide resolved
- Use 2.2 logging component - fix some typo - remove regions
Thanks for the PR! |