PostSharp 6.10 / / Post­Sharp Documentation / 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: (
public int ExecutionTimeThreshold { get; set; }

Property Value

Type: Int32
See Also