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

LogAttributeBase Class

Base class for all method-level logging aspects.

Namespace: PostSharp.Patterns.Diagnostics
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
[MulticastAttributeUsage]
[Metric("UsedFeatures", "Patterns.Diagnostics.Logging")]
[ProvideAspectRole("Tracing")]
[AspectRoleDependency]
public abstract class LogAttributeBase : MethodLevelAspect, IMethodLevelAspect, IMethodLevelAspectBuildSemantics, IAspectBuildSemantics, IValidableAnnotation, ILogAspect, IAspect

Constructors

Name Description
LogAttributeBase()

Properties

Name Description
ProfileName

Gets or sets the name of the LoggingProfile.