NLog.Targets.Trace
6.0.3
dotnet add package NLog.Targets.Trace --version 6.0.3
NuGet\Install-Package NLog.Targets.Trace -Version 6.0.3
<PackageReference Include="NLog.Targets.Trace" Version="6.0.3" />
<PackageVersion Include="NLog.Targets.Trace" Version="6.0.3" />
<PackageReference Include="NLog.Targets.Trace" />
paket add NLog.Targets.Trace --version 6.0.3
#r "nuget: NLog.Targets.Trace, 6.0.3"
#:package NLog.Targets.Trace@6.0.3
#addin nuget:?package=NLog.Targets.Trace&version=6.0.3
#tool nuget:?package=NLog.Targets.Trace&version=6.0.3
NLog Trace Target
NLog Trace Target for writing to System.Diagnostics.Trace for each logevent.
If having trouble with output, then check NLog InternalLogger for clues. See also Troubleshooting NLog
See the NLog Wiki - Trace Target for available options and examples.
NLog TraceListener
NLog TraceListener for redirecting System.Diagnostics.Trace into NLog Logger output.
See the NLog Wiki - NLogTraceListener for available options and examples.
NLog ActivityId LayoutRenderer
NLog LayoutRenderer ${activityid}
renders Guid from System.Diagnostics.Trace.CorrelationManager.ActivityId
See the NLog Wiki - ActivityId for available options and examples.
Register Extension
NLog will only recognize type-alias Trace
when loading from NLog.config
-file, if having added extension to NLog.config
-file:
<extensions>
<add assembly="NLog.Targets.Trace"/>
</extensions>
Alternative register from code using fluent configuration API:
LogManager.Setup().SetupExtensions(ext => {
ext.RegisterTarget<NLog.Targets.TraceTarget>();
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on NLog.Targets.Trace:
Repository | Stars |
---|---|
RayCarrot/RayCarrot.RCP.Metro
Rayman Control Panel (4.0.0 and above)
|
Trace-Target Docs:
https://github.com/NLog/NLog/wiki/Trace-target
Trace-ActivityId Docs:
https://github.com/NLog/NLog/wiki/Trace-Activity-Id-Layout-Renderer
NLogTraceListener Docs:
https://github.com/NLog/NLog/wiki/NLog-Trace-Listener-for-System-Diagnostics-Trace