PostSharp 4.3 / / 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: 4.3.48.0 (4.3.48.0)
Syntax
C#
public static void EnableCategory(
	string category
)

Parameters

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