in CEGUILogger.h
Code: Select all
void setLogStream(const ostream& stream)
{
d_ostream.rdbuf(stream.rdbuf());
}
Consider this a feature request.
It would enable code like
CEGUI::Logger::getSingleton().setLogStream(cerr);
and as cerr can bee redirected to any file and can bee used by multiple objects.
ps. if it is already possble to do this pleas disregard my post and tell me how to do it