Skip to content

Commit 1d12016

Browse files
authored
Update README.md
1 parent 2bd144d commit 1d12016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ NLog Target for debugging on MAUI / Xamarin Mobile Platforms:
5050
Alternative setup NLog configuration using [fluent-API](https://github.com/NLog/NLog/wiki/Fluent-Configuration-API):
5151
```csharp
5252
var logger = NLog.LogManager.Setup().RegisterMauiLog()
53-
.LoadConfiguration(c => c.ForLogger(NLog.LogLevel.Debug).WriteToMauiLog())
53+
.LoadConfiguration(c => c.ForLogger().FilterMinLevel(NLog.LogLevel.Debug).WriteToMauiLog())
5454
.GetCurrentClassLogger();
5555
```
5656

0 commit comments

Comments
 (0)