File tree Expand file tree Collapse file tree 9 files changed +21
-21
lines changed
src/Serilog.Sinks.Exceptionless Expand file tree Collapse file tree 9 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ jobs:
1313 - name : Setup .NET Core
1414 uses : actions/setup-dotnet@v1
1515 with :
16- dotnet-version : 5 .x
16+ dotnet-version : 6 .x
1717 - name : Build Reason
1818 run : " echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919 - name : Build Version
2020 shell : bash
2121 run : |
22- dotnet tool install --global minver-cli --version 2.5 .0
22+ dotnet tool install --global minver-cli --version 4.3 .0
2323 version=$(minver --tag-prefix v)
2424 echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525 - name : Build
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ jobs:
1313 - name : Setup .NET Core
1414 uses : actions/setup-dotnet@v1
1515 with :
16- dotnet-version : 5 .x
16+ dotnet-version : 6 .x
1717 - name : Build Reason
1818 run : " echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919 - name : Build Version
2020 shell : bash
2121 run : |
22- dotnet tool install --global minver-cli --version 2.5 .0
22+ dotnet tool install --global minver-cli --version 4.3 .0
2323 version=$(minver --tag-prefix v)
2424 echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525 - name : Build
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ jobs:
1313 - name : Setup .NET Core
1414 uses : actions/setup-dotnet@v1
1515 with :
16- dotnet-version : 5 .x
16+ dotnet-version : 6 .x
1717 - name : Build Reason
1818 run : " echo ref: ${{github.ref}} event: ${{github.event_name}}"
1919 - name : Build Version
2020 shell : bash
2121 run : |
22- dotnet tool install --global minver-cli --version 2.5 .0
22+ dotnet tool install --global minver-cli --version 4.3 .0
2323 version=$(minver --tag-prefix v)
2424 echo "MINVERVERSIONOVERRIDE=$version" >> $GITHUB_ENV
2525 - name : Build
Original file line number Diff line number Diff line change 44 "version" : " 2.0.0" ,
55 "tasks" : [
66 {
7- "taskName " : " build" ,
7+ "label " : " build" ,
88 "command" : " dotnet build" ,
99 "type" : " shell" ,
1010 "group" : {
Original file line number Diff line number Diff line change @@ -38,4 +38,4 @@ Log.Logger = new LoggerConfiguration()
3838
3939* [ Documentation] ( https://github.com/serilog/serilog/wiki )
4040
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 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
33 <OutputType >Exe</OutputType >
4- <TargetFrameworks >net50 </TargetFrameworks >
4+ <TargetFrameworks >net60 </TargetFrameworks >
55 <IsPackable >false</IsPackable >
66 </PropertyGroup >
77 <ItemGroup >
88 <ProjectReference Include =" ..\..\src\Serilog.Sinks.Exceptionless\Serilog.Sinks.Exceptionless.csproj" />
99 </ItemGroup >
1010 <ItemGroup >
11- <PackageReference Include =" Serilog.Sinks.Console" Version =" 4.0 .0" />
11+ <PackageReference Include =" Serilog.Sinks.Console" Version =" 4.1 .0" />
1212 </ItemGroup >
1313</Project >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.Web" >
22 <PropertyGroup >
3- <TargetFramework >net5 .0</TargetFramework >
3+ <TargetFramework >net6 .0</TargetFramework >
44 <IsPackable >false</IsPackable >
55 </PropertyGroup >
66
77 <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" />
1010 </ItemGroup >
1111
1212 <ItemGroup >
Original file line number Diff line number Diff line change 4141 <TargetFramework >netstandard2.0</TargetFramework >
4242 </PropertyGroup >
4343 <PropertyGroup Condition =" '$(OS)' == 'Windows_NT' " >
44- <TargetFrameworks >netstandard2.0;net452 </TargetFrameworks >
44+ <TargetFrameworks >netstandard2.0;net462 </TargetFrameworks >
4545 </PropertyGroup >
4646
4747 <PropertyGroup Label =" Signing" >
5656 </ItemGroup >
5757
5858 <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" />
6161
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" />
6565 </ItemGroup >
6666
6767 <ItemGroup Condition =" '$(TargetFramework)' == 'net45' " >
Original file line number Diff line number Diff line change 1- using System ;
1+ using System ;
22using System . Collections . Generic ;
33using Exceptionless ;
44using Exceptionless . Dependency ;
@@ -145,7 +145,7 @@ public void Emit(LogEvent logEvent) {
145145 }
146146
147147 void IDisposable . Dispose ( ) {
148- _client ? . ProcessQueue ( ) ;
148+ _client ? . ProcessQueueAsync ( ) . GetAwaiter ( ) . GetResult ( ) ;
149149 }
150150 }
151151}
You can’t perform that action at this time.
0 commit comments