Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 0.9.10
-
Fix Version/s: 0.9.12
-
Component/s: Perf4J base
-
Labels:None
-
Environment:all
-
Number of attachments :
Description
A common desired feature is to log events ONLY when they are too slow. Adding a threshold on the LoggingStopWatch, where the log call is only made when the time exceeds the threshold, is very useful. This feature should also be exposed through the @Profiled annotation.
This feature was suggested and a patch was submitted by Maciej Rakowicz .
Added timeThreshold property to LoggingStopWatch and Profiled annotation.