PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Log­Attribute Class/Log­Attribute Constructor/Log­Attribute Constructor (String)

LogAttribute Constructor (String)

Initializes a new LogAttribute and specifies a logging profile.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public LogAttribute(
	string profileName
)

Parameters

profileName
Type: System.String
The name of the logging profile, or null to use the default logging profile.
See Also