From e2cb73e327c9f3499bc376cb9bde6bae315728df Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 16 Dec 2025 22:37:10 +0100 Subject: [PATCH] Don't log so much Avalonia stuff even when debugging tyvm --- src/Artemis.UI/SerilogAvaloniaSink.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Artemis.UI/SerilogAvaloniaSink.cs b/src/Artemis.UI/SerilogAvaloniaSink.cs index b8dea3fcd..f590c4b06 100644 --- a/src/Artemis.UI/SerilogAvaloniaSink.cs +++ b/src/Artemis.UI/SerilogAvaloniaSink.cs @@ -22,13 +22,8 @@ public class SerilogAvaloniaSink : ILogSink { SerilogLogLevel logLevel = GetSerilogLogLevel(level, area); - #if DEBUG // Except with binding errors, ignore anything that is information or lower - return true; -#else - // Ignore binding errors in release builds, shoo return area != "Binding" && logLevel > SerilogLogLevel.Information && _logger.IsEnabled(logLevel); -#endif } ///