LogLevelSource.OpenActivity<T> Method |
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.8.6.0 (6.8.6.0)
public LogActivity<T> OpenActivity<T>( in T description, in OpenActivityOptions options = null ) where T : IMessage
Parameters
- description
- Type: T
The activity description, typically created using the SemanticMessageBuilder or FormattedMessageBuilder class. - options (Optional)
- Type: PostSharp.Patterns.Diagnostics.OpenActivityOptions
Options.
Type Parameters
- T
Return Value
Type: LogActivity<T>A Logger representing the new activity.