Emulate Windows Notepad logging feature, and log duration of each entry