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 1
1
{
2
2
"sdk" : {
3
- "version" : " 2.0.0-preview2-006497 "
3
+ "version" : " 2.1.0 "
4
4
}
5
5
}
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ public IDisposable BeginScope<T>(T state)
66
66
// The outermost scope pushes and pops the Serilog `LogContext` - once
67
67
// this enricher is on the stack, the `CurrentScope` property takes care
68
68
// of the rest of the `BeginScope()` stack.
69
- var popSerilogContext = LogContext . PushProperties ( this ) ;
69
+ var popSerilogContext = LogContext . Push ( this ) ;
70
70
return new SerilogLoggerScope ( this , state , popSerilogContext ) ;
71
71
}
72
72
Original file line number Diff line number Diff line change 23
23
</PropertyGroup >
24
24
25
25
<ItemGroup >
26
- <PackageReference Include =" Serilog" Version =" 2.3 .0" />
26
+ <PackageReference Include =" Serilog" Version =" 2.8 .0" />
27
27
</ItemGroup >
28
28
29
29
<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" />
31
31
</ItemGroup >
32
32
33
33
<ItemGroup Condition =" '$(TargetFramework)' == 'net461' or '$(TargetFramework)' == 'netstandard2.0' " >
34
34
<PackageReference Include =" Microsoft.Extensions.Logging" Version =" 2.0.0" />
35
35
</ItemGroup >
36
36
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
+
37
45
<PropertyGroup Condition =" '$(TargetFramework)' == 'net46' " >
38
46
<DefineConstants >$(DefineConstants);ASYNCLOCAL</DefineConstants >
39
47
</PropertyGroup >
You can’t perform that action at this time.
0 commit comments