Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be4898a

Browse files
authored
Merge pull request #144 from snakefoot/master
Updated NLog.Targets.Stackify to NLog v4.7.15
2 parents 9ceafa1 + 0fcdc70 commit be4898a

File tree

5 files changed

+12
-223
lines changed

5 files changed

+12
-223
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,5 @@ packages/
3131
**/obj/*
3232
BuildOutput/
3333
*.pfx
34-
*.snk
34+
*.snk
35+
/.vs

Src/NLog.Targets.Stackify/NLog.Targets.Stackify.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
1616
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
1717
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
18-
<Version>2.1.8-beta</Version>
18+
<Version>2.2.13</Version>
1919
<PackageLicenseUrl>https://github.com/stackify/stackify-api-dotnet/blob/master/LICENSE</PackageLicenseUrl>
2020
<PackageProjectUrl>https://github.com/stackify/stackify-api-dotnet</PackageProjectUrl>
2121
<PackageIconUrl>https://stackify.com/wp-content/uploads/2017/02/stk.png</PackageIconUrl>
@@ -26,7 +26,7 @@
2626

2727
<ItemGroup>
2828
<ProjectReference Include="..\StackifyLib\StackifyLib.csproj" />
29-
<PackageReference Include="NLog" Version="4.5.11" />
29+
<PackageReference Include="NLog" Version="4.7.15" />
3030
</ItemGroup>
3131

3232
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">

Src/NLog.Targets.Stackify/StackifyTarget.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ protected override void Write(AsyncLogEventInfo logEvent)
133133
}
134134
catch (Exception ex)
135135
{
136-
InternalLogger.Error("StackifyTarget: Failed to send");
136+
InternalLogger.Error(ex, "StackifyTarget: Failed to send");
137137
logEvent.Continuation(ex); // Signal failure to NLog
138138
StackifyAPILogger.Log(ex.ToString());
139139
}

Src/NLog.Web.Stackify/NLog.Web.Stackify.csproj

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
1616
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
1717
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
18-
<Version>2.1.1</Version>
18+
<Version>2.2.13</Version>
1919
<PackageLicenseUrl>https://github.com/stackify/stackify-api-dotnet/blob/master/LICENSE</PackageLicenseUrl>
2020
<PackageProjectUrl>https://github.com/stackify/stackify-api-dotnet</PackageProjectUrl>
2121
<PackageIconUrl>https://stackify.com/wp-content/uploads/2017/02/stk.png</PackageIconUrl>
@@ -25,13 +25,13 @@
2525

2626
<ItemGroup>
2727
<ProjectReference Include="..\StackifyLib\StackifyLib.csproj" />
28-
<PackageReference Include="NLog" Version="4.5.11" />
28+
<PackageReference Include="NLog" Version="4.7.15" />
2929
</ItemGroup>
30-
31-
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">
30+
31+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
3232
<DefineConstants>NETCORE</DefineConstants>
3333
</PropertyGroup>
34-
34+
3535
<PropertyGroup Condition=" '$(TargetFramework)' == 'net40' OR '$(TargetFramework)' == 'net45' OR '$(TargetFramework)' == 'net461' ">
3636
<DefineConstants>NETFULL</DefineConstants>
3737
</PropertyGroup>
@@ -40,10 +40,10 @@
4040
<Reference Include="System.Web" />
4141
<Reference Include="System.Web.Abstractions" />
4242
<Reference Include="System.Web.Routing" />
43-
<PackageReference Include="NLog.Web" Version="4.8.0" />
43+
<PackageReference Include="NLog.Web" Version="4.14.0" />
4444
</ItemGroup>
4545

4646
<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'">
47-
<PackageReference Include="NLog.Web.AspNetCore" Version="4.8.0" />
47+
<PackageReference Include="NLog.Web.AspNetCore" Version="4.14.0" />
4848
</ItemGroup>
4949
</Project>

0 commit comments

Comments
 (0)