redirect CEGUI log into custom log?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
kristian
Just popping in
Just popping in
Posts: 12
Joined: Wed Apr 13, 2005 17:25

redirect CEGUI log into custom log?

Postby kristian » Wed Jul 20, 2005 13:03

Hello,
Is there a way in which I can easily redirect the CEGUI log into my own specialized log class ( / manager ? ).
- Kristian.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: redirect CEGUI log into custom log?

Postby CrazyEddie » Wed Jul 20, 2005 17:37

This comes up every now and again :)

At present there is no facility for this. It's almost a certainty that this will be added as some stage, though it has not been discussed at any great length, and is not scheduled for inclusion at any particular stage; which means it will get done as and when.

User avatar
J_A_X
Quite a regular
Quite a regular
Posts: 72
Joined: Wed Jun 29, 2005 13:18
Contact:

Re: redirect CEGUI log into custom log?

Postby J_A_X » Thu Jul 21, 2005 14:37

like CE said, there is no very easy way to do it with say a function or a config that's been already made, but it is easy to just change the code for your purpose. For example, I changed the logging code so that it displays in a console that I have and also writes it to the txt file. Took me like 10 min to do.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 10 guests