Skip to content

Commit 1a3254d

Browse files
authored
Update README.md with new content
1 parent 388ce01 commit 1a3254d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Example of `NLog.config` file that uses the `diagnosticListener` target:
130130
```
131131

132132
### SpanId / TraceId in custom NLog Target
133-
NLog v5.3.4 introduced support for `Layout.FromMethod` that supports typed NLog `Layout<T>`. This allows [custom NLog Targets](https://github.com/NLog/NLog/wiki/How-to-write-a-custom-target-for-structured-logging) to resolve SpanId / TraceId with support for AsyncWrapper, without having to parse from string or depend on `NLog.DiagnosticSource` nuget-package:
133+
NLog v5.3.4 introduced support for `Layout.FromMethod` that returns typed NLog `Layout<T>`. This allows [custom NLog Targets](https://github.com/NLog/NLog/wiki/How-to-write-a-custom-target-for-structured-logging) to resolve SpanId / TraceId with support for AsyncWrapper, without having to parse from string or depend on `NLog.DiagnosticSource` nuget-package:
134134
```csharp
135135
public class MyCustomTarget : TargetWithContext
136136
{
@@ -159,3 +159,4 @@ public class MyCustomTarget : TargetWithContext
159159

160160

161161

162+

0 commit comments

Comments
 (0)