Skip to content

Commit

Permalink
Update MauiProgram.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
snakefoot authored Dec 31, 2023
1 parent 1d12016 commit 5623e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/MauiApp2/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static class MauiProgram
public static MauiApp CreateMauiApp()
{
var logger = NLog.LogManager.Setup().RegisterMauiLog()
.LoadConfiguration(c => c.ForLogger(NLog.LogLevel.Debug).WriteToMauiLog()) // Alternative use LoadConfigurationFromAssemblyResource()
.LoadConfiguration(c => c.ForLogger().FilterMinLevel(NLog.LogLevel.Debug).WriteToMauiLog()) // Alternative use LoadConfigurationFromAssemblyResource()
.GetCurrentClassLogger();

try
Expand Down

0 comments on commit 5623e89

Please sign in to comment.