https://bernhardelbl.wordpress.com/2013/01/12/how-to-write-log-files-in-windows-store-apps/