PostSharp 6.10 / / Post­Sharp Documentation / 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: (
public interface ILogActivityOptions

The ILogActivityOptions type exposes the following members.

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