File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
test/Serilog.AspNetCore.Tests Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 4
4
<Description >Serilog support for ASP.NET Core logging</Description >
5
5
<VersionPrefix >4.0.0</VersionPrefix >
6
6
<Authors >Microsoft;Serilog Contributors</Authors >
7
- <TargetFramework >netstandard2.1</TargetFramework >
7
+ <TargetFrameworks >netstandard2.0;netstandard2. 1</TargetFrameworks >
8
8
<TreatWarningsAsErrors >true</TreatWarningsAsErrors >
9
9
<GenerateDocumentationFile >true</GenerateDocumentationFile >
10
10
<AssemblyOriginatorKeyFile >../../assets/Serilog.snk</AssemblyOriginatorKeyFile >
26
26
27
27
<ItemGroup >
28
28
<PackageReference Include =" Serilog" Version =" 2.10.0" />
29
- <PackageReference Include =" Serilog.Extensions.Hosting" Version =" 4.0 .0" />
29
+ <PackageReference Include =" Serilog.Extensions.Hosting" Version =" 4.1 .0" />
30
30
<PackageReference Include =" Serilog.Sinks.Console" Version =" 3.1.1" />
31
31
<PackageReference Include =" Serilog.Sinks.File" Version =" 4.1.0" />
32
32
<PackageReference Include =" Serilog.Sinks.Debug" Version =" 2.0.0" />
33
33
<PackageReference Include =" Serilog.Settings.Configuration" Version =" 3.1.0" />
34
34
<PackageReference Include =" Serilog.Formatting.Compact" Version =" 1.1.0" />
35
- </ItemGroup >
36
-
37
- <ItemGroup Condition =" '$(TargetFramework)' == 'netstandard2.1'" >
38
35
<PackageReference Include =" Microsoft.AspNetCore.Hosting.Abstractions" Version =" 2.2.0" />
39
36
<PackageReference Include =" Microsoft.Extensions.DependencyInjection" Version =" 3.1.8" />
40
37
<PackageReference Include =" Microsoft.Extensions.Logging" Version =" 3.1.8" />
Original file line number Diff line number Diff line change 4
4
using System ;
5
5
using System . Linq ;
6
6
using System . Threading . Tasks ;
7
-
8
7
using Xunit ;
9
-
10
8
using Microsoft . Extensions . DependencyInjection ;
11
9
using Microsoft . AspNetCore . Hosting ;
12
10
using Microsoft . AspNetCore . Mvc . Testing ;
13
11
using Microsoft . AspNetCore . Builder ;
14
-
15
12
using Serilog . Filters ;
16
13
using Serilog . AspNetCore . Tests . Support ;
17
14
You can’t perform that action at this time.
0 commit comments