PostSharp//API Reference/Post­Sharp.​Patterns.​Diagnostics/Log­Attribute/Log­Attribute
Open sandboxFocus

Constructor LogAttribute

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.