Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated NLog.Targets.Stackify to NLog v4.7.15
  • Loading branch information
snakefoot committed Jan 29, 2024
commit 0fcdc7057b2e536a118e4061cc816ac0de0818b7
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ packages/
**/obj/*
BuildOutput/
*.pfx
*.snk
*.snk
/.vs
4 changes: 2 additions & 2 deletions Src/NLog.Targets.Stackify/NLog.Targets.Stackify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
<Version>2.1.8-beta</Version>
<Version>2.2.13</Version>
<PackageLicenseUrl>https://github.com/stackify/stackify-api-dotnet/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/stackify/stackify-api-dotnet</PackageProjectUrl>
<PackageIconUrl>https://stackify.com/wp-content/uploads/2017/02/stk.png</PackageIconUrl>
Expand All @@ -26,7 +26,7 @@

<ItemGroup>
<ProjectReference Include="..\StackifyLib\StackifyLib.csproj" />
<PackageReference Include="NLog" Version="4.5.11" />
<PackageReference Include="NLog" Version="4.7.15" />
</ItemGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
Expand Down
2 changes: 1 addition & 1 deletion Src/NLog.Targets.Stackify/StackifyTarget.cs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ protected override void Write(AsyncLogEventInfo logEvent)
}
catch (Exception ex)
{
InternalLogger.Error("StackifyTarget: Failed to send");
InternalLogger.Error(ex, "StackifyTarget: Failed to send");
logEvent.Continuation(ex); // Signal failure to NLog
StackifyAPILogger.Log(ex.ToString());
}
Expand Down
14 changes: 7 additions & 7 deletions Src/NLog.Web.Stackify/NLog.Web.Stackify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<GenerateAssemblyCopyrightAttribute>false</GenerateAssemblyCopyrightAttribute>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
<Version>2.1.1</Version>
<Version>2.2.13</Version>
<PackageLicenseUrl>https://github.com/stackify/stackify-api-dotnet/blob/master/LICENSE</PackageLicenseUrl>
<PackageProjectUrl>https://github.com/stackify/stackify-api-dotnet</PackageProjectUrl>
<PackageIconUrl>https://stackify.com/wp-content/uploads/2017/02/stk.png</PackageIconUrl>
Expand All @@ -25,13 +25,13 @@

<ItemGroup>
<ProjectReference Include="..\StackifyLib\StackifyLib.csproj" />
<PackageReference Include="NLog" Version="4.5.11" />
<PackageReference Include="NLog" Version="4.7.15" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netstandard2.0|AnyCPU'">

<PropertyGroup Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
<DefineConstants>NETCORE</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net40' OR '$(TargetFramework)' == 'net45' OR '$(TargetFramework)' == 'net461' ">
<DefineConstants>NETFULL</DefineConstants>
</PropertyGroup>
Expand All @@ -40,10 +40,10 @@
<Reference Include="System.Web" />
<Reference Include="System.Web.Abstractions" />
<Reference Include="System.Web.Routing" />
<PackageReference Include="NLog.Web" Version="4.8.0" />
<PackageReference Include="NLog.Web" Version="4.14.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="NLog.Web.AspNetCore" Version="4.8.0" />
<PackageReference Include="NLog.Web.AspNetCore" Version="4.14.0" />
</ItemGroup>
</Project>
Loading