Add timing to logs.