Skip to content

Commit

Permalink
enable file logging again
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Dec 20, 2024
1 parent 413f83f commit 6b987b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/FwLite/FwLiteDesktop/FwLiteDesktopKernel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Hosting.Internal;
using Microsoft.Extensions.Logging;
using NReco.Logging.File;

namespace FwLiteDesktop;

Expand Down Expand Up @@ -67,7 +68,7 @@ public static void AddFwLiteDesktopServices(this IServiceCollection services,
config.SystemWebViewLogin = true;
});

// logging.AddFile(Path.Combine(baseDataPath, "app.log"));
logging.AddFile(Path.Combine(baseDataPath, "app.log"));
services.AddSingleton<IPreferences>(Preferences.Default);
services.AddSingleton<IVersionTracking>(VersionTracking.Default);
services.AddSingleton<IConnectivity>(Connectivity.Current);
Expand Down

0 comments on commit 6b987b1

Please sign in to comment.