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 (Post­Sharp­Trace)

PostSharpTrace.EnableCategory Method (PostSharpTrace)

Enables a trace category known by its object.

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

Parameters

category
Type: PostSharp.Extensibility.PostSharpTrace
A PostSharpTrace object.
See Also