sebagomez
sebagomez

Reputation: 9619

Options for logging Windows Store apps

So I'm creating many Windows (8) Store apps and I'm wondering what are my best choices to help my users but possible bugs (if they ever occour).

I was thinking about a log4net like solution to a rollingFile. Or maybe on the appcrashed event send a crash report to my own server.

What are my options? what's the "best" option?

Upvotes: 0

Views: 144

Answers (2)

philk
philk

Reputation: 2140

You could use log4javascript and use the RollingFileAppender from here: http://pastebin.com/MdCtjGt8 It uses the momentjs lib to calculate the file name but you can substitute this with your own calculation.

Upvotes: 0

Tim Greenfield
Tim Greenfield

Reputation: 567

I'd recommend using the new Google Analytics service. Just add the free Google Analytics SDK for Windows 8 to your app and automatically track unhandled exceptions (or add 1 line of code to track them manually). Super easy, plus you get a ton of great analytics tracking for your app.

Upvotes: 1

Related Questions