add support to log elapsedTime