PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Extensibility Namespace / Post­Sharp­Trace Class / Post­Sharp­Trace Methods / Post­Sharp­Trace.​Enable­Category Method / Post­Sharp­Trace.​Enable­Category Method (String)

PostSharpTrace.EnableCategory Method (String)

Enables a trace category known by its name.

Namespace:  PostSharp.Extensibility
Assembly:  PostSharp (in PostSharp.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public static void EnableCategory(
	string category
)

Parameters

category
Type: System.String
The category name.
See Also