[Solved] Custom logger
Posted: Tue Jan 16, 2007 12:50
Hi
I'm trying to implement a custom logging mechanism for my application. I have read the API description, where it states that one should derive from the abstract Logger class before instantiating the system object. I have done this, I have created a new class which derives from the the Logger class and I have created an object before creating the system object. But when I create the system object I get an assertion from the CEGUISingleton class probably because it tries to create another logger object.
Are there any more steps I need to take before I can redirect the log output?
Kind regards
Martin
I'm trying to implement a custom logging mechanism for my application. I have read the API description, where it states that one should derive from the abstract Logger class before instantiating the system object. I have done this, I have created a new class which derives from the the Logger class and I have created an object before creating the system object. But when I create the system object I get an assertion from the CEGUISingleton class probably because it tries to create another logger object.
Are there any more steps I need to take before I can redirect the log output?
Kind regards
Martin