Skip to content

Commit

Permalink
Remove wrong XDOC tag (serilog#1699)
Browse files Browse the repository at this point in the history
* Remove wrong tag

* fix
  • Loading branch information
sungam3r authored and Twinki14 committed Dec 30, 2023
1 parent 1599524 commit 6354c5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/Serilog/Core/Enrichers/PropertyEnricher.cs
Expand Up @@ -32,11 +32,9 @@ public class PropertyEnricher : ILogEventEnricher
/// </summary>
/// <param name="name">The name of the property.</param>
/// <param name="value">The value of the property.</param>
/// <returns>A handle to later remove the property from the context.</returns>
/// <param name="destructureObjects">If true, and the value is a non-primitive, non-array type,
/// then the value will be converted to a structure; otherwise, unknown types will
/// be converted to scalars, which are generally stored as strings.</param>
/// <returns></returns>
/// <exception cref="ArgumentNullException">When <paramref name="name"/> is <code>null</code></exception>
/// <exception cref="ArgumentException">When <paramref name="name"/> is empty or only contains whitespace</exception>
public PropertyEnricher(string name, object value, bool destructureObjects = false)
Expand Down
6 changes: 3 additions & 3 deletions src/Serilog/Core/ILogEventPropertyFactory.cs
@@ -1,4 +1,4 @@
// Copyright 2013-2015 Serilog Contributors
// Copyright 2013-2015 Serilog Contributors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -30,7 +30,7 @@ public interface ILogEventPropertyFactory
/// <param name="destructureObjects">If true, and the value is a non-primitive, non-array type,
/// then the value will be converted to a structure; otherwise, unknown types will
/// be converted to scalars, which are generally stored as strings.</param>
/// <returns></returns>
/// <returns>Created <see cref="LogEventProperty"/> instance.</returns>
LogEventProperty CreateProperty(string name, object value, bool destructureObjects = false);
}
}
}

0 comments on commit 6354c5c

Please sign in to comment.