Delay formatting for log messages