WP7: How do I override OnLog or WriteEntry?

Oct 15, 2010 at 3:05 AM

I would like to do 2 things.

1. Override WriteEntry to prevent any starting or closing messages.  A current workaround is I set Category to "" but I imagine it is still making the outbound call.  The goal here is to improve app startup time.

2. I want to override WriteEntry or OnLog so I can change the AppTitle to use the Globalized version.  DataCollector.Log should not modify some or all of AnalyticsEvent properties if they were already set by the application.

I really like the idea of the framework, but it seems very extensible but not very flexible.  I will submit there this is probably a lot I am missing and need to learn, but so far I found it hard to try and hook into the framework.

Oct 15, 2010 at 11:02 PM

Or how would I go about setting MSAF to use my own DataCollector?