Pergunta de entrevista da empresa Microsoft

Implement a logger in several steps ie Step 1 that will get a String, step 2 that will keep a the date, step 3 that can be searched by a particular cricket and so on, not remembering all the steps.