let logger insert the time