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

Constructor LogValueAttribute

LogValueAttribute()

Initializes a new LogValueAttribute for the default profile.

Declaration
public LogValueAttribute()

LogValueAttribute(String)

Initializes a new LogValueAttribute and specifies a profile name.

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

The name of the LoggingProfile to use.