PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Diagnostics Namespace/Logging­Profile Class/Logging­Profile Properties/Logging­Profile.​Execution­Time­Threshold Property

LoggingProfile.ExecutionTimeThreshold Property

Gets or sets the warning threshold, in milliseconds. If the execution of a method takes longer than that, its success is logged with Warning, and the time it took is logged. If the value is 0, this feature is disabled.

Namespace:  PostSharp.Patterns.Diagnostics
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public int ExecutionTimeThreshold { get; set; }

Property Value

Type: Int32
See Also