Comments (4)
Thanks that snitch tool is really useful!
from serilog-extensions-hosting.
@lonix1 All you have to do is reference Serilog.Extensions.Hosting
4.1.0
in your project, in addition to Serilog.AspNetCore
.
<ItemGroup>
<PackageReference Include="Serilog.AspNetCore" Version="3.4.0" />
<PackageReference Include="Serilog.Extensions.Hosting" Version="4.1.0" />
</ItemGroup>
This is not really related to any of the Serilog projects. It's just how NuGet works: It resolves the dependency that a package declares, unless you tell it to use a higher version.
from serilog-extensions-hosting.
Thanks.
Is there a reason the new version is not included in the metapackage? Or will it be included at some point?
from serilog-extensions-hosting.
It's just a matter of time until a new stable release of Serilog.AspNetCore (4.0.0) ships. These are two independent libraries so it's normal for them to have different release schedules.
If you don't mind using a prerelease version, Serilog.AspNetCore 4.0.0-dev-00202 already includes Serilog.Extensions.Hosting 4.1.0.
Personally, I prefer to include these higher version overrides of the dependencies that I need, and periodically run Snitch to tell me which dependencies I can remove already (as new versions of my dependencies are released).
from serilog-extensions-hosting.
Related Issues (20)
- UseSerilog Infinite loop: ReadFrom.Services + KinesisFirehoseSink HOT 3
- ReloadableLogger not allowed in netstandard2.0 projects HOT 2
- Logs from within UseSerilog() not printed HOT 2
- DiagnosticContext doesn't use the logger created by LoggerConfiguration HOT 3
- Please document that `writeToProviders` will ignore filtering rules of the .NET logging
- Missing CreateBootstrapLogger in .net framework 4.8 HOT 4
- Exception thrown getting IDiagnosticContext dependency after registering serilog with a logger HOT 2
- Add IServiceCollection extension methods to enable serilog HOT 4
- Add support for `IAsyncDisposable` loggers
- Add overload to UseSerilog that extends ``IServiceCollection``. HOT 1
- CreateBootstrapLogger doesn't work with non-static Logger HOT 1
- Two-stage initialization with exception during `UseSerilog` is not logged to files HOT 5
- UseSerilog support for .net8 IHostApplicationBuilder HOT 15
- Filter doesn't apply to custom sink with injectable dependencies added via appsettings.json HOT 4
- Production Release of 5.1.0 HOT 4
- CreateBootstrapLogger no longer available in .NET Standard 2.1 since 8.0.0 HOT 8
- Serilog.Extensions.Hosting.dll Corrupted with Null Bytes During Unplanned Shutdown HOT 1
- Transitive dependencies on MS.Extensions.* should align with the major version shipped with the SDK HOT 5
- BootstrapLogger and reading config from appsettings (using Serilog.Settings.Configuration) not playing well together HOT 3
- No logging with .NET Framework Host Application DI HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serilog-extensions-hosting.