Microsoft interview question

Design a logging system in windows