System.Diagnostics.TraceSource
4.0.0
Provides classes that help you trace the execution of your code. Developers should prefer the classes in the ETW-based System.Diagnostics.Tracing package.
Commonly Used Types:
System.Diagnostics.TraceListener
System.Diagnostics.TraceLevel
System.Diagnostics.TraceSource
System.Diagnostics.TraceEventType
System.Diagnostics.DefaultTraceListener
System.Diagnostics.Trace
When using NuGet 3.x this package requires at least version 3.4.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Requires NuGet 2.12 or higher.
Install-Package System.Diagnostics.TraceSource -Version 4.0.0
dotnet add package System.Diagnostics.TraceSource --version 4.0.0
<PackageReference Include="System.Diagnostics.TraceSource" Version="4.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Diagnostics.TraceSource --version 4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.Diagnostics.TraceSource, 4.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install System.Diagnostics.TraceSource as a Cake Addin
#addin nuget:?package=System.Diagnostics.TraceSource&version=4.0.0
// Install System.Diagnostics.TraceSource as a Cake Tool
#tool nuget:?package=System.Diagnostics.TraceSource&version=4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Release Notes
https://go.microsoft.com/fwlink/?LinkID=799417
Dependencies
-
.NETFramework 4.6
- No dependencies.
-
.NETStandard 1.3
- Microsoft.NETCore.Platforms (>= 1.0.1)
- runtime.native.System (>= 4.0.0)
- System.Collections (>= 4.0.11)
- System.Diagnostics.Debug (>= 4.0.11)
- System.Globalization (>= 4.0.11)
- System.Resources.ResourceManager (>= 4.0.1)
- System.Runtime (>= 4.1.0)
- System.Runtime.Extensions (>= 4.1.0)
- System.Threading (>= 4.0.11)
-
MonoAndroid 1.0
- No dependencies.
-
MonoTouch 1.0
- No dependencies.
-
Xamarin.iOS 1.0
- No dependencies.
-
Xamarin.Mac 2.0
- No dependencies.
-
Xamarin.TVOS 1.0
- No dependencies.
-
Xamarin.WatchOS 1.0
- No dependencies.
Used By
NuGet packages (8)
Showing the top 5 NuGet packages that depend on System.Diagnostics.TraceSource:
| Package | Downloads |
|---|---|
|
Castle.Core
Castle Core, including DynamicProxy, Logging Abstractions and DictionaryAdapter
|
|
|
log4net
log4net is a tool to help the programmer output log statements to a variety of output targets. In case of problems with an application, it is helpful to enable logging so that the problem can be located. With log4net it is possible to enable logging at runtime without modifying the application binary. The log4net package is designed so that log statements can remain in shipped code without incurring a high performance cost. It follows that the speed of logging (or rather not logging) is crucial.
At the same time, log output can be so voluminous that it quickly becomes overwhelming. One of the distinctive features of log4net is the notion of hierarchical loggers. Using these loggers it is possible to selectively control which log statements are output at arbitrary granularity.
log4net is designed with two distinct goals in mind: speed and flexibility
|
|
|
NLog
NLog is a logging platform for .NET with rich log routing and management capabilities.
NLog supports traditional logging, structured logging and the combination of both.
Supported platforms:
- .NET Framework 3.5, 4, 4.5, 4.6, 4.7 & 4.8
- .NET Core 1, 2 and 3
- .NET Standard 1.3+ and 2.0+;
- .NET Framework 4 client profile
- Xamarin Android, Xamarin iOs
- UWP
- Windows Phone 8
- Silverlight 4 and 5
- Mono 4
For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore
|
|
|
System.Diagnostics.TextWriterTraceListener
Provides trace listeners for directing tracing output to a text writer, such as System.IO.StreamWriter, or a stream, such as a System.IO.FileStream.
Commonly Used Types:
System.Diagnostics.TextWriterTraceListener
System.Diagnostics.DelimitedListTraceListener
When using NuGet 3.x this package requires at least version 3.4.
|
|
|
Microsoft.TestPlatform.TestHost
Testplatform host executes the test using specified adapter.
|