Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Crauzer committed Apr 11, 2023
1 parent 9de2508 commit 84ef63f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Obsidian/Pages/ExplorerPage.razor.cs
Expand Up @@ -5,6 +5,7 @@
using Obsidian.Data.Wad;
using Obsidian.Services;
using Obsidian.Utils;
using Serilog;
using Toolbelt.Blazor.HotKeys2;

namespace Obsidian.Pages;
Expand Down Expand Up @@ -32,6 +33,8 @@ public partial class ExplorerPage

private WadTreeModel CreateWadTree()
{
Log.Information("Re-building Wad tree");

return string.IsNullOrEmpty(this.Config.GameDataDirectory) switch
{
true => CreateEmptyWadTree(),
Expand Down

0 comments on commit 84ef63f

Please sign in to comment.