File tree 9 files changed +21
-21
lines changed
src/Serilog.Sinks.Exceptionless
9 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ jobs:
13
13
- name : Setup .NET Core
14
14
uses : actions/setup-dotnet@v1
15
15
with :
16
- dotnet-version : 5 .x
16
+ dotnet-version : 6 .x
17
17
- name : Build Reason
18
18
run : " echo ref: ${{github.ref}} event: ${{github.event_name}}"
19
19
- name : Build Version
20
20
shell : bash
21
21
run : |
22
- dotnet tool install --global minver-cli --version 2.5 .0
22
+ dotnet tool install --global minver-cli --version 4.3 .0
23
23
version=$(minver --tag-prefix v)
24
24
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
25
25
- name : Build
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ jobs:
13
13
- name : Setup .NET Core
14
14
uses : actions/setup-dotnet@v1
15
15
with :
16
- dotnet-version : 5 .x
16
+ dotnet-version : 6 .x
17
17
- name : Build Reason
18
18
run : " echo ref: ${{github.ref}} event: ${{github.event_name}}"
19
19
- name : Build Version
20
20
shell : bash
21
21
run : |
22
- dotnet tool install --global minver-cli --version 2.5 .0
22
+ dotnet tool install --global minver-cli --version 4.3 .0
23
23
version=$(minver --tag-prefix v)
24
24
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
25
25
- name : Build
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ jobs:
13
13
- name : Setup .NET Core
14
14
uses : actions/setup-dotnet@v1
15
15
with :
16
- dotnet-version : 5 .x
16
+ dotnet-version : 6 .x
17
17
- name : Build Reason
18
18
run : " echo ref: ${{github.ref}} event: ${{github.event_name}}"
19
19
- name : Build Version
20
20
shell : bash
21
21
run : |
22
- dotnet tool install --global minver-cli --version 2.5 .0
22
+ dotnet tool install --global minver-cli --version 4.3 .0
23
23
version=$(minver --tag-prefix v)
24
24
echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
25
25
- name : Build
Original file line number Diff line number Diff line change 4
4
"version" : " 2.0.0" ,
5
5
"tasks" : [
6
6
{
7
- "taskName " : " build" ,
7
+ "label " : " build" ,
8
8
"command" : " dotnet build" ,
9
9
"type" : " shell" ,
10
10
"group" : {
Original file line number Diff line number Diff line change @@ -38,4 +38,4 @@ Log.Logger = new LoggerConfiguration()
38
38
39
39
* [ Documentation] ( https://github.com/serilog/serilog/wiki )
40
40
41
- Copyright © ; 2017 Serilog Contributors - Provided under the [ Apache License, Version 2.0] ( http://apache.org/licenses/LICENSE-2.0.html ) .
41
+ Copyright © ; 2023 Serilog Contributors - Provided under the [ Apache License, Version 2.0] ( http://apache.org/licenses/LICENSE-2.0.html ) .
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
3
<OutputType >Exe</OutputType >
4
- <TargetFrameworks >net50 </TargetFrameworks >
4
+ <TargetFrameworks >net60 </TargetFrameworks >
5
5
<IsPackable >false</IsPackable >
6
6
</PropertyGroup >
7
7
<ItemGroup >
8
8
<ProjectReference Include =" ..\..\src\Serilog.Sinks.Exceptionless\Serilog.Sinks.Exceptionless.csproj" />
9
9
</ItemGroup >
10
10
<ItemGroup >
11
- <PackageReference Include =" Serilog.Sinks.Console" Version =" 4.0 .0" />
11
+ <PackageReference Include =" Serilog.Sinks.Console" Version =" 4.1 .0" />
12
12
</ItemGroup >
13
13
</Project >
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk.Web" >
2
2
<PropertyGroup >
3
- <TargetFramework >net5 .0</TargetFramework >
3
+ <TargetFramework >net6 .0</TargetFramework >
4
4
<IsPackable >false</IsPackable >
5
5
</PropertyGroup >
6
6
7
7
<ItemGroup >
8
- <PackageReference Include =" Exceptionless.AspNetCore" Version =" 4.6.2 " />
9
- <PackageReference Include =" Serilog.AspNetCore" Version =" 4 .1.0" />
8
+ <PackageReference Include =" Exceptionless.AspNetCore" Version =" 6.0.0 " />
9
+ <PackageReference Include =" Serilog.AspNetCore" Version =" 6 .1.0" />
10
10
</ItemGroup >
11
11
12
12
<ItemGroup >
Original file line number Diff line number Diff line change 41
41
<TargetFramework >netstandard2.0</TargetFramework >
42
42
</PropertyGroup >
43
43
<PropertyGroup Condition =" '$(OS)' == 'Windows_NT' " >
44
- <TargetFrameworks >netstandard2.0;net452 </TargetFrameworks >
44
+ <TargetFrameworks >netstandard2.0;net462 </TargetFrameworks >
45
45
</PropertyGroup >
46
46
47
47
<PropertyGroup Label =" Signing" >
56
56
</ItemGroup >
57
57
58
58
<ItemGroup >
59
- <PackageReference Include =" Exceptionless" Version =" 4.6.2 " />
60
- <PackageReference Include =" Serilog" Version =" 2.10 .0" />
59
+ <PackageReference Include =" Exceptionless" Version =" 6.0.0 " />
60
+ <PackageReference Include =" Serilog" Version =" 2.12 .0" />
61
61
62
- <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.0.0 " PrivateAssets =" All" />
63
- <PackageReference Include =" AsyncFixer" Version =" 1.5.1 " PrivateAssets =" All" />
64
- <PackageReference Include =" MinVer" Version =" 2.5 .0" PrivateAssets =" All" />
62
+ <PackageReference Include =" Microsoft.SourceLink.GitHub" Version =" 1.1.1 " PrivateAssets =" All" />
63
+ <PackageReference Include =" AsyncFixer" Version =" 1.6.0 " PrivateAssets =" All" />
64
+ <PackageReference Include =" MinVer" Version =" 4.3 .0" PrivateAssets =" All" />
65
65
</ItemGroup >
66
66
67
67
<ItemGroup Condition =" '$(TargetFramework)' == 'net45' " >
Original file line number Diff line number Diff line change 1
- using System ;
1
+ using System ;
2
2
using System . Collections . Generic ;
3
3
using Exceptionless ;
4
4
using Exceptionless . Dependency ;
@@ -145,7 +145,7 @@ public void Emit(LogEvent logEvent) {
145
145
}
146
146
147
147
void IDisposable . Dispose ( ) {
148
- _client ? . ProcessQueue ( ) ;
148
+ _client ? . ProcessQueueAsync ( ) . GetAwaiter ( ) . GetResult ( ) ;
149
149
}
150
150
}
151
151
}
You can’t perform that action at this time.
0 commit comments