: Documentation : Code Snippets
OpenSceneGraph has a built in mechanism for debugging, using various notification levels.
Possible levels for message notifications:
- ALWAYS - Consume all messages (e.g. for release builds)
- FATAL
- WARN
- NOTICE - Default level
- INFO
- DEBUG_INFO
- DEBUG_FP
// INFO
osg::notify(osg::INFO) << "Your message here" << std::endl;