On 4/2/09 7:46 PM, Filip Holm wrote:
I've figured out a way to reoute all osg::notify messages to my
logger, but I can't seem to find a way to get the osg::NotifySeverity
mapping. Any thoughts on how this could be done is greatly
appretiated.

I don't believe it is possible to capture the loglevel passed to notify with the current setup.

osg::notify() evaluates the given loglevel against the globally set one and only directs the stream if it matches (logLevel <= globalLogLevel). It doesn't pass the loglevel on to any function you could specify.

/ulrich
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to