Skip to content

Commit

Permalink
By user request, other Serilog.Sink packages are included for experim…
Browse files Browse the repository at this point in the history
…ental use
  • Loading branch information
rmcrackan committed Jun 26, 2024
1 parent 9b28bdc commit 56e6bd1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/AppScaffolding/AppScaffolding.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Version>11.3.13.1</Version>
<Version>11.3.14.1</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Octokit" Version="11.0.1" />
<!-- Do not remove unused Serilog.Sinks -->
<!-- Only ZipFile sink is currently used. By user request (June 2024) others packages are included for experimental use. -->
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="Serilog.Sinks.ZipFile" Version="3.1.1" />
</ItemGroup>
<ItemGroup>
Expand Down
3 changes: 3 additions & 0 deletions Source/AppScaffolding/LibationScaffolding.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ private static void ensureSerilogConfig(Configuration config)
{ "MinimumLevel", "Information" },
{ "WriteTo", new JArray
{
// ABOUT SINKS
// Only ZipFile sink is currently used. By user request (June 2024) others packages are included for experimental use.

// new JObject { {"Name", "Console" } }, // this has caused more problems than it's solved
new JObject
{
Expand Down

0 comments on commit 56e6bd1

Please sign in to comment.