Log information to file on devices and WP8 emu.