PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLog­AttributeLog­Attribute
Open sandboxFocus

LogAttribute Constructor

LogAttribute()

Initializes a new LogAttribute.

Declaration
public LogAttribute()

LogAttribute(String)

Initializes a new LogAttribute and specifies a logging profile.

Declaration
public LogAttribute(string profileName)
Parameters
Type Name Description
String profileName

The name of the logging profile, or null to use the default logging profile.