EventSourceOptions::Level Property

.NET Framework (current version)
 

Gets or sets the event level applied to the event.

Namespace:   System.Diagnostics.Tracing
Assembly:  mscorlib (in mscorlib.dll)

public:
property EventLevel Level {
	EventLevel get();
	void set(EventLevel value);
}

Property Value

Type: System.Diagnostics.Tracing::EventLevel

The event level for the event. If not set, the default is Verbose (5).

ETW events can also be filtered by level. If the level is set at Verbose (5), events of all levels, including Verbose and below are raised. If the level is set at Error (2), only events that belong to Error level and below are raised.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show: