@ SuppressWarnings ( "UnusedParameters" ) protected LogTemplate < Split > createLogTemplate ( Stopwatch stopwatch ) { LogTemplate < Split > logTemplate ; if ( logEnabled ) { logTemplate = everyNSeconds ( enabledStopwatchLogTemplate , 60 ) ; } else { logTemplate = disabled ( ) ; } return logTemplate ; }
Create log template for given stopwatch . This method can be overridden to tune logging strategy . By default when enabled quantiles are logged at most once per minute