File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
src/Serilog.Extensions.Logging Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "sdk" : {
3- "version" : " 2.0.0-preview2-006497 "
3+ "version" : " 2.1.0 "
44 }
55}
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public IDisposable BeginScope<T>(T state)
6666 // The outermost scope pushes and pops the Serilog `LogContext` - once
6767 // this enricher is on the stack, the `CurrentScope` property takes care
6868 // of the rest of the `BeginScope()` stack.
69- var popSerilogContext = LogContext . PushProperties ( this ) ;
69+ var popSerilogContext = LogContext . Push ( this ) ;
7070 return new SerilogLoggerScope ( this , state , popSerilogContext ) ;
7171 }
7272
Original file line number Diff line number Diff line change 2323 </PropertyGroup >
2424
2525 <ItemGroup >
26- <PackageReference Include =" Serilog" Version =" 2.3 .0" />
26+ <PackageReference Include =" Serilog" Version =" 2.8 .0" />
2727 </ItemGroup >
2828
2929 <ItemGroup Condition =" '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'net46' or '$(TargetFramework)' == 'netstandard1.3' " >
30- <PackageReference Include =" Microsoft.Extensions.Logging.Abstractions " Version =" 1.0.0" />
30+ <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 1.0.0" />
3131 </ItemGroup >
3232
3333 <ItemGroup Condition =" '$(TargetFramework)' == 'net461' or '$(TargetFramework)' == 'netstandard2.0' " >
3434 <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 2.0.0" />
3535 </ItemGroup >
3636
37+ <ItemGroup Condition =" '$(TargetFramework)' == 'net45' or '$(TargetFramework)' == 'net46' or '$(TargetFramework)' == 'netstandard1.3' " >
38+ <PackageReference Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 1.0.0" />
39+ </ItemGroup >
40+
41+ <ItemGroup Condition =" '$(TargetFramework)' == 'net461' or '$(TargetFramework)' == 'netstandard2.0' " >
42+ <PackageReference Include =" Microsoft.Extensions.Logging.Abstractions" Version =" 2.0.0" />
43+ </ItemGroup >
44+
3745 <PropertyGroup Condition =" '$(TargetFramework)' == 'net46' " >
3846 <DefineConstants >$(DefineConstants);ASYNCLOCAL</DefineConstants >
3947 </PropertyGroup >
You can’t perform that action at this time.
0 commit comments