PostSharpAPI ReferencePost­Sharp.​Patterns.​DiagnosticsLogging­ProfileExecution­Time­Threshold
Open sandboxFocus

LoggingProfile.ExecutionTimeThreshold Property

ExecutionTimeThreshold

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.

Declaration
public int ExecutionTimeThreshold { get; set; }
Property Value
Type Description
Int32