Skip to content

Commit

Permalink
Merge branch 'WK-cleaning' of https://github.com/aneoconsulting/Armon…
Browse files Browse the repository at this point in the history
…iK.Core into WK-cleaning
  • Loading branch information
wkirschenmann committed Aug 10, 2023
2 parents 2ec340b + 8052a99 commit f38317b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Common/src/Utils/LoggerInit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public LoggerInit(IConfiguration configuration)
.Enrich.FromLogContext()
.Enrich.WithProperty("CoreVersion",
typeof(LoggerInit).Assembly.GetName()
.Version!)
.Version ?? "Unknown")
.CreateLogger();

logger_ = LoggerFactory.Create(builder => builder.AddSerilog(loggerConfiguration_))
Expand Down

0 comments on commit f38317b

Please sign in to comment.