Implement logging for Windows 8 phone (printf does not work)