51#ifdef OSG_NOTIFY_DISABLED
82#define OSG_NOTIFY(level) if (osg::isNotifyEnabled(level)) osg::notify(level)
83#define OSG_ALWAYS OSG_NOTIFY(osg::ALWAYS)
84#define OSG_FATAL OSG_NOTIFY(osg::FATAL)
85#define OSG_WARN OSG_NOTIFY(osg::WARN)
86#define OSG_NOTICE OSG_NOTIFY(osg::NOTICE)
87#define OSG_INFO OSG_NOTIFY(osg::INFO)
88#define OSG_DEBUG OSG_NOTIFY(osg::DEBUG_INFO)
89#define OSG_DEBUG_FP OSG_NOTIFY(osg::DEBUG_FP)
129#if defined(WIN32) && !defined(__CYGWIN__)
virtual void notify(osg::NotifySeverity severity, const char *message)=0
void notify(osg::NotifySeverity severity, const char *message)
author: Julien Valentin 2017 (mp3butcher@hotmail.com)
Definition AlphaFunc:19
NotifySeverity
Definition Notify:30
@ WARN
Definition Notify:33
@ DEBUG_INFO
Definition Notify:36
@ NOTICE
Definition Notify:34
@ INFO
Definition Notify:35
@ FATAL
Definition Notify:32
@ DEBUG_FP
Definition Notify:37
@ ALWAYS
Definition Notify:31
OSG_EXPORT bool isNotifyEnabled(NotifySeverity severity)
OSG_EXPORT bool initNotifyLevel()
OSG_EXPORT void setNotifyHandler(NotifyHandler *handler)
OSG_EXPORT NotifyHandler * getNotifyHandler()
OSG_EXPORT NotifySeverity getNotifyLevel()
std::ostream & notify(void)
Definition Notify:80
OSG_EXPORT void setNotifyLevel(NotifySeverity severity)
OSG_EXPORT std::ostream & notify(const NotifySeverity severity)
#define OSG_EXPORT
Definition osg/Export:39