Use verboseSection to display a message, flush it to the screen, and once the
scope is over, display how much time the scope took to run. Message and timing
info is only displayed when verbosity is enabled. Condition for "Is verbosity
enabled?" can be customized with setVerboseSectionCond.
Use verboseSection to display a message, flush it to the screen, and once the scope is over, display how much time the scope took to run. Message and timing info is only displayed when verbosity is enabled. Condition for "Is verbosity enabled?" can be customized with setVerboseSectionCond.
Usage:
Output:
You can change the conditional expression to something other than the default of "verbose" by using setVerboseSectionCond:
Usage:
Using setVerboseSectionCond only affects the current module. Use it again in each module desired.