PostSharp4.3//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: 4.3.48.0 (4.3.48.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