Store the timer type for logging, because the timer can be freed during processing the timerout.
MFC after: 3 days