Page 1 of 1
Customizing CEGUI
Posted: Mon Mar 14, 2005 15:28
by sfb
Is there a way to overload the CEGUI logging system and have it implement a user specified logging system? I'd like to write a logging redirector to consolidate logging in the NeLRenderer to only the NeL-based logging system but am unsure of how to proceed with the CEGUI side. Any advice before I blindly jump into this?
Re: Customizing CEGUI
Posted: Tue Mar 15, 2005 09:22
by CrazyEddie
I do not have this as an option at the moment, though it could be put in at some stage. I'd probably go for another set of overloads for the CEGUI::System constructor which take some kind of Logger class pointer.
CE.
Re: Customizing CEGUI
Posted: Tue Mar 15, 2005 18:35
by sfb
I'll look into doing this after the next version release of the NeLRenderer. It'll be a useful feature for us. I'll look at the System ctor and the logging classes and post here later with some ideas of my own.
Re: Customizing CEGUI
Posted: Tue Mar 15, 2005 19:39
by CrazyEddie
Okay. It's possible I may do something by then, as it's a pretty simple thing for me to add another abstract class to interface to external loggers (while defaulting to the current internal one). All in all it all depends how the moods take me
CE.
Re: Customizing CEGUI
Posted: Wed Mar 16, 2005 03:22
by _mental_
I considered doing this when I wrote the resource provider stuff, but never got around to it. I'd definitely like to see this implemented.
Re: Customizing CEGUI
Posted: Wed Mar 16, 2005 09:33
by CrazyEddie
I was on #Ogre3D last night and somebody else requested this, so it's almost certain that the feature will be added.
CE.