Skip to content

Commit

Permalink
boost(logs): Improve sentry log message in case of crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Belphemur committed Feb 2, 2023
1 parent 4d2ee17 commit b1b093e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1b093e

Please sign in to comment.