Skip to content

Commit 2ff264f

Browse files
authored
Update DiagnosticContext.cs
1 parent 87e316f commit 2ff264f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Serilog.Extensions.Hosting/Extensions/Hosting/DiagnosticContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public DiagnosticContextCollector BeginCollection()
4545
}
4646

4747
/// <inheritdoc cref="IDiagnosticContext.Set"/>
48-
public void Set(string propertyName, object value, bool destructureObjects = false)
48+
public void Set(string propertyName, object? value, bool destructureObjects = false)
4949
{
5050
if (propertyName == null) throw new ArgumentNullException(nameof(propertyName));
5151

0 commit comments

Comments
 (0)