Subject: | Start timer |
In Log::Log4perl::Layout::PatternLayout
There is:
%r Number of milliseconds elapsed from program start to logging
event
%R Number of milliseconds elapsed from last logging event to
current logging event
What I'd like is a third option, to start a timer and to log the elapsed time since that timer started. That way I can log the time it takes a daemon to run once around a loop.