File tree 2 files changed +1
-3
lines changed
Framework/Logger/Configuration
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -14,14 +14,13 @@ public static class LoggerConfigurator
14
14
public static void ConfigureLogger ( )
15
15
{
16
16
const string sentryTemplate = "{Message}\n {Properties}" ;
17
- const string outputTemplate = "[{Timestamp:HH:mm:ss.fff} {Level:u3}][{ThreadId}]" + sentryTemplate + " (at {Caller}){NewLine}{Exception}";
17
+ const string outputTemplate = "[{Timestamp:HH:mm:ss.fff} {Level:u3}]]{Properties} {Message} (at {Caller}){NewLine}{Exception}" ;
18
18
Log . Logger = new LoggerConfiguration ( )
19
19
#if RELEASE
20
20
. MinimumLevel . Debug ( )
21
21
#else
22
22
. MinimumLevel . Verbose ( )
23
23
#endif
24
- . Enrich . WithThreadId ( )
25
24
. Enrich . WithExceptionDetails ( )
26
25
. Enrich . WithCaller ( )
27
26
#if DEBUG
Original file line number Diff line number Diff line change 57
57
<PackageReference Include =" Sentry.Serilog" Version =" 3.27.0" />
58
58
<PackageReference Include =" Serilog" Version =" 2.12.0" />
59
59
<PackageReference Include =" Serilog.Enrichers.Environment" Version =" 2.2.0" />
60
- <PackageReference Include =" Serilog.Enrichers.Thread" Version =" 3.1.0" />
61
60
<PackageReference Include =" Serilog.Exceptions" Version =" 8.4.0+build.694" />
62
61
<PackageReference Include =" Serilog.Formatting.Compact" Version =" 1.1.0" />
63
62
<PackageReference Include =" Serilog.Sinks.File" Version =" 5.0.0" />
You can’t perform that action at this time.
0 commit comments