You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/NLog.Extensions.Logging/Logging/NLogProviderOptions.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ public class NLogProviderOptions
34
34
publicboolParseMessageTemplates{get;set;}
35
35
36
36
/// <summary>
37
-
/// Enable capture of scope information and inject into <see cref="NestedDiagnosticsLogicalContext" /> and <see cref="MappedDiagnosticsLogicalContext" />
37
+
/// Enable capture of scope information and inject into <see cref="NLog.ScopeContext" />
Copy file name to clipboardExpand all lines: test/NLog.Extensions.Logging.Tests/LoggerTests.cs
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -131,12 +131,12 @@ public void TestInvalidFormatString2()
131
131
}
132
132
133
133
[Theory]
134
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Critical,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|FATAL|message Exception of type 'System.Exception' was thrown.|20")]
135
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Debug,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|DEBUG|message Exception of type 'System.Exception' was thrown.|20")]
136
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Error,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|ERROR|message Exception of type 'System.Exception' was thrown.|20")]
137
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Information,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|INFO|message Exception of type 'System.Exception' was thrown.|20")]
138
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Trace,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|TRACE|message Exception of type 'System.Exception' was thrown.|20")]
139
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Warning,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|WARN|message Exception of type 'System.Exception' was thrown.|20")]
134
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Critical,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|FATAL|message System.Exception: Exception of type 'System.Exception' was thrown.|20")]
135
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Debug,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|DEBUG|message System.Exception: Exception of type 'System.Exception' was thrown.|20")]
136
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Error,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|ERROR|message System.Exception: Exception of type 'System.Exception' was thrown.|20")]
137
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Information,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|INFO|message System.Exception: Exception of type 'System.Exception' was thrown.|20")]
138
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Trace,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|TRACE|message System.Exception: Exception of type 'System.Exception' was thrown.|20")]
139
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Warning,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|WARN|message System.Exception: Exception of type 'System.Exception' was thrown.|20")]
@@ -146,12 +146,12 @@ public void TestExceptionWithMessage(Microsoft.Extensions.Logging.LogLevel logLe
146
146
}
147
147
148
148
[Theory]
149
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Critical,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|FATAL| Exception of type 'System.Exception' was thrown.|20")]
150
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Debug,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|DEBUG| Exception of type 'System.Exception' was thrown.|20")]
151
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Error,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|ERROR| Exception of type 'System.Exception' was thrown.|20")]
152
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Information,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|INFO| Exception of type 'System.Exception' was thrown.|20")]
153
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Trace,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|TRACE| Exception of type 'System.Exception' was thrown.|20")]
154
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Warning,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|WARN| Exception of type 'System.Exception' was thrown.|20")]
149
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Critical,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|FATAL| System.Exception: Exception of type 'System.Exception' was thrown.|20")]
150
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Debug,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|DEBUG| System.Exception: Exception of type 'System.Exception' was thrown.|20")]
151
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Error,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|ERROR| System.Exception: Exception of type 'System.Exception' was thrown.|20")]
152
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Information,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|INFO| System.Exception: Exception of type 'System.Exception' was thrown.|20")]
153
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Trace,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|TRACE| System.Exception: Exception of type 'System.Exception' was thrown.|20")]
154
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Warning,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|WARN| System.Exception: Exception of type 'System.Exception' was thrown.|20")]
@@ -161,12 +161,12 @@ public void TestExceptionWithEmptyMessage(Microsoft.Extensions.Logging.LogLevel
161
161
}
162
162
163
163
[Theory]
164
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Critical,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|FATAL|[null] Exception of type 'System.Exception' was thrown.|20")]
165
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Debug,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|DEBUG|[null] Exception of type 'System.Exception' was thrown.|20")]
166
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Error,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|ERROR|[null] Exception of type 'System.Exception' was thrown.|20")]
167
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Information,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|INFO|[null] Exception of type 'System.Exception' was thrown.|20")]
168
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Trace,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|TRACE|[null] Exception of type 'System.Exception' was thrown.|20")]
169
-
[InlineData(Microsoft.Extensions.Logging.LogLevel.Warning,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|WARN|[null] Exception of type 'System.Exception' was thrown.|20")]
164
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Critical,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|FATAL|[null] System.Exception: Exception of type 'System.Exception' was thrown.|20")]
165
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Debug,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|DEBUG|[null] System.Exception: Exception of type 'System.Exception' was thrown.|20")]
166
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Error,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|ERROR|[null] System.Exception: Exception of type 'System.Exception' was thrown.|20")]
167
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Information,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|INFO|[null] System.Exception: Exception of type 'System.Exception' was thrown.|20")]
168
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Trace,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|TRACE|[null] System.Exception: Exception of type 'System.Exception' was thrown.|20")]
169
+
[InlineData(Microsoft.Extensions.Logging.LogLevel.Warning,"NLog.Extensions.Logging.Tests.LoggerTests.Runner|WARN|[null] System.Exception: Exception of type 'System.Exception' was thrown.|20")]
0 commit comments