Cysharp / ZLogger

Zero Allocation Text/Structured Logger for .NET with StringInterpolation and Source Generator, built on top of a Microsoft.Extensions.Logging.
MIT License
1.14k stars 80 forks source link

Upgrade packages to minimize the size of dependency graph #48

Closed sucrose0413 closed 2 years ago

sucrose0413 commented 2 years ago

Hi@neuecc, I found an issue in the Benchmark.csproj:

Packages BenchmarkDotNet v0.12.0, log4net v2.0.8, NLog v4.7.0, Serilog.Sinks.Console v3.1.1, Serilog.Sinks.File v4.1.0 and Microsoft.Bcl.AsyncInterfaces v1.1.0 transitively introduce 89 dependencies into ZLogger’s dependency graph (see dependency graph before upgrades), while BenchmarkDotNet v0.13.0, log4net v2.0.11, NLog v4.7.4, Serilog.Sinks.File v5.0.0, Serilog.Sinks.Console v4.0.0 and Microsoft.Bcl.AsyncInterfaces v1.1.1 can only introduce 51 dependencies (see dependency graph after upgrades).

These upgrades can help project minimize the size of dependency graph. Hope the PR can help you.

Best regards, sucrose