Diagnostics. Tracing. EventSource
This package exposes an enhanced developer experience for coding against the Microsoft.Diagnostics.Tracing.EventSource (including build time validation). Microsoft.Diagnostics.Tracing.EventSource allows for firing ETW events from managed code. It enables defining a strongly typed specification of an ETW provider that can be called by managed code. The EventSource class is also included in the .NET Framework. This package provides a newer version that has more features. It is meant to be used as a stop gap until those features it contains are ported to System.Diagnostics.Tracing.EventSource.
For more details, have a look at https://msdn.microsoft.com/en-us/library/system.diagnostics.tracing.eventsource.aspx.
- ETW channel support
- Support for static registration
- .NET Framework 3.5
- .NET Framework 4.0
- .NET Framework 4.5
- Windows Store apps
- Windows Phone App 8.1
See the version list below for details.
Requires NuGet 2.5 or higher.
Install-Package Microsoft.Diagnostics.Tracing.EventSource -Version 1.1.24
dotnet add package Microsoft.Diagnostics.Tracing.EventSource --version 1.1.24
<PackageReference Include="Microsoft.Diagnostics.Tracing.EventSource" Version="1.1.24" />
paket add Microsoft.Diagnostics.Tracing.EventSource --version 1.1.24
The 1.1 release of EventSource has a number of new non-trivial features
DynamicEvents - Allows events defined 'on the fly' by without creating a 'event method'.
RichPayloads - Allows specially attributed classes and arrays as well as primitive types to be passed as a payload.
ActivityTracking - Causes Start and Stop events to tag events between them with ID that represents all currently active activities.
All of these features are non-trivial in the sense that they need more explanation than release notes justify.
Eventually MSDN will have this documentation, and you can go to https://blogs.msdn.com/b/vancem/ to get a preview.
Showing the top 6 GitHub repositories that depend on Microsoft.Diagnostics.Tracing.EventSource:
Kudu is the engine behind git/hg deployments, WebJobs, and various other features in Azure Web Sites. It can also run outside of Azure.
PerfView is a CPU and memory performance-analysis tool
Contains samples and documentation for libraries and tools of the .NET framework. Pull requests welcome!
A portable logging abstraction for .NET
Firely's open source FHIR server
Azure DevOps Migration Tools allow you to migrate Teams, Backlogs, Tasks, Test Cases, and Plans & Suits from one Project to another in Azure DevOps / TFS both within the same Organisation, and between Organisations.