Reputation: 1172
I want to read logs from the output window in WP8. If i run windows phone application on Visual Studio, i see logs in output window. But if i run application on windows phone without Visual Studio, i cannot see logs. And i can't read this logs. I don't want to write my own logging system, I want to read the data from OUTPUT. And i want to read this data in Release configuration.
I tried to redirect Console.Out
to a file, but it still not work.
System.Diagnostics.Debug.WriteLine
doesn't work in Release Configuration.
Any suggestions?
Upvotes: 0
Views: 697
Reputation: 1
In fact it works.
Steps to follow :
Select the "Build" option in the right pane.
Choose "Release" option from the dropdown box of Configuration.
Under "General" section below in the same "Build" pane select checkboxes.
Next goto "Tools" menu
Now either deploy to device or run in the emulator.
Upvotes: 0
Reputation: 1560
The only solution is to write your logs to IsolatedStorage. If you are not willing to do so,click the link below you can use it directly:
http://wpclogger.codeplex.com/downloads/get/374016
Upvotes: 1
Reputation: 82
I think you should write logs to files(.txt,..) to Isolated Storage and load it if you want to read detail.
Upvotes: 0