PostSharp6.5//API Reference/Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace/ILog­Activity­Options Interface

ILogActivityOptions Interface

Exposes the default verbosity of the Logger and LogActivity classes when creating and closing activities.

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.8.0 (6.5.8.0)
Syntax
C#
public interface ILogActivityOptions

The ILogActivityOptions type exposes the following members.

Properties
  NameDescription
Public propertyActivityLevel
Gets or sets the default severity for custom messages and for entry and success messages of activities.
Public propertyExceptionLevel
Gets or sets the default severity for failure custom messages.
Public propertyFailureLevel
Gets or sets the LogLevel for failures of custom activities (defined by the SetFailure(String) method).
See Also