redirect CEGUI log into custom log?
Posted: Wed Jul 20, 2005 13:03
by kristian
Hello,
Is there a way in which I can easily redirect the CEGUI log into my own specialized log class ( / manager ? ).
- Kristian.
Re: redirect CEGUI log into custom log?
Posted: Wed Jul 20, 2005 17:37
by CrazyEddie
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.
Re: redirect CEGUI log into custom log?
Posted: Thu Jul 21, 2005 14:37
by J_A_X
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.