From b1b093e22d1986ead4ace76d43a51d070d53ccd5 Mon Sep 17 00:00:00 2001 From: Antoine Aflalo Date: Thu, 2 Feb 2023 08:56:07 -0500 Subject: [PATCH] boost(logs): Improve sentry log message in case of crash --- .../Framework/Logger/Configuration/LoggerConfigurator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoundSwitch/Framework/Logger/Configuration/LoggerConfigurator.cs b/SoundSwitch/Framework/Logger/Configuration/LoggerConfigurator.cs index 6bed204b78..844bba446d 100644 --- a/SoundSwitch/Framework/Logger/Configuration/LoggerConfigurator.cs +++ b/SoundSwitch/Framework/Logger/Configuration/LoggerConfigurator.cs @@ -13,7 +13,7 @@ public static class LoggerConfigurator { public static void ConfigureLogger() { - const string sentryTemplate = "{Properties} {Message}"; + const string sentryTemplate = "{Message}\n{Properties}"; const string outputTemplate = "[{Timestamp:HH:mm:ss.fff} {Level:u3}][{ThreadId}]" + sentryTemplate + "(at {Caller}){NewLine}{Exception}"; Log.Logger = new LoggerConfiguration() #if RELEASE