Skip to content

Commit

Permalink
chore(deps): update dependency serilog.sinks.file to v6 (#382)
Browse files Browse the repository at this point in the history
* chore(deps): update dependency serilog.sinks.file to v6

* chore: fix build errors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Mattias Kindborg <[email protected]>
  • Loading branch information
renovate[bot] and FantasticFiasco authored Sep 27, 2024
1 parent afbb29e commit 3c90d81
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Serilog.Sinks.Http/Serilog.Sinks.Http.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<!-- PACKAGE REFERENCES -->

<ItemGroup>
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ private static void WriteRenderings(
fdelim = ",";

output.Write("{\"Format\":");
JsonValueFormatter.WriteQuotedJsonString(format.Format, output);
JsonValueFormatter.WriteQuotedJsonString(format.Format ?? "\"\"", output);

output.Write(",\"Rendering\":");
var sw = new StringWriter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private static void WriteRenderings(
fdelim = ",";

output.Write("{\"Format\":");
JsonValueFormatter.WriteQuotedJsonString(format.Format, output);
JsonValueFormatter.WriteQuotedJsonString(format.Format ?? "\"\"", output);

output.Write(",\"Rendering\":");
var sw = new StringWriter();
Expand All @@ -178,4 +178,4 @@ private static void LogNonFormattableEvent(LogEvent logEvent, Exception e)
logEvent.MessageTemplate.Text,
e);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<PackageReference Include="Markdig" Version="0.37.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="Serilog.Sinks.File" Version="5.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="Serilog.Settings.Configuration" Version="8.0.2" />
<PackageReference Include="Shouldly" Version="4.2.1" />
<PackageReference Include="xunit" Version="2.9.0" />
Expand Down

0 comments on commit 3c90d81

Please sign in to comment.