Hi Martin,

2009/9/17 Martin Großer <[email protected]>

> Hello,
>
> osg use the std::cerr for the error output and i think it is not so good. I
> get the error in the console every time.
>

This is only by default when you get error messages, you can control the
output of osg::notify() to ignore all messages by settings
OSG_NOTIFY_LEVEL=ALWAYS to get it to always ignore messages.  You can do
this in your program using osg::setNotifyLevel(osg::ALWAYS);

Finally in svn/trunk you can also use the a custom NotifyHandler to do what
you want with the messages.  Even in the previous stable releases you can
use C++'s streambuffers to redirect it's output streams.



> Nvidie PhysX use a class "NXUserOutputStream". It is a nice idea for osg,
> maybe?
>

Given the above no :-)

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to