We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55cfd64 commit 0b961dbCopy full SHA for 0b961db
src/Serilog.Enrichers.Thread/ThreadLoggerConfigurationExtensions.cs
@@ -39,7 +39,7 @@ public static LoggerConfiguration WithThreadId(
39
return enrichmentConfiguration.With<ThreadIdEnricher>();
40
}
41
42
-#if NET45 || NETSTANDARD2_0
+#if THREAD_NAME
43
/// <summary>
44
/// Enrich log events with a ThreadName property containing the <see cref="Thread.CurrentThread"/> <see cref="Thread.Name"/>.
45
/// </summary>
@@ -53,4 +53,4 @@ public static LoggerConfiguration WithThreadName(
53
54
#endif
55
56
-}
+}
0 commit comments