For a while now I've been trying to use Windows Events as my logging framework, but I have suffered from one seemingly fatal problem: if my application terminated unexpectedly (thus ungracefully), my session was left open, and I was seemingly unable to stop it or re -enable providers against it. This was beginning to make … Continue reading Finally worked out my problem with Windows Events
Tag: ETW
A Quick and Dirty tutorial on Event Tracing For Windows: Part 1 the Event Trace Session
[EDIT 4 September 2010] Thanks to David M for pointing out an error in my code. When starting an ETW session you should pass in the session name not the log file name. See the correction (in bold) in the LoggingController::Start member function below. [/EDIT] So, Windows Events, its the new Logging API for Windows … Continue reading A Quick and Dirty tutorial on Event Tracing For Windows: Part 1 the Event Trace Session
A successful day
I started actually writing some code on my new experimental engine today. One of the things I want to do with this engine is write as little code myself as I have to. Also, I'd like to avoid using third party libraries for things Windows already does, like logging. A lot of people would use … Continue reading A successful day