PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics Namespace / Logging­Backend­Options Class / Logging­Backend­Options Properties / Logging­Backend­Options.​Include­Activity­Execution­Time Property

LoggingBackendOptions.IncludeActivityExecutionTime Property

Determines whether the execution time should be measured for custom activities. The default value is false. This property does not affect the measurement of execution time of methods, which is only influenced by the IncludeExecutionTime property of the build-time logging profile.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 2023.0.3.0 (2023.0.3.0)
public bool IncludeActivityExecutionTime { get; set; }

Property Value

Type: Boolean
See Also