#include <OSGBaseTypes.h>#include <OSGTime.h>#include <fstream>#include <list>#include <OSGLog.inl>Include dependency graph for OSGLog.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
| namespace | osg |
Defines | |
| #define | OSG_LOG_MODULE "UNKNOWN MODULE" |
| #define | SLOG osgStartLog(true,OSG::LOG_LOG,OSG_LOG_MODULE, __FILE__, __LINE__) |
| #define | SFATAL osgStartLog(true,OSG::LOG_FATAL,OSG_LOG_MODULE, __FILE__, __LINE__) |
| #define | SWARNING osgStartLog(true,OSG::LOG_WARNING,OSG_LOG_MODULE, __FILE__, __LINE__) |
| #define | SNOTICE osgStartLog(true,OSG::LOG_NOTICE,OSG_LOG_MODULE, __FILE__, __LINE__) |
| #define | SINFO osgStartLog(true,OSG::LOG_INFO,OSG_LOG_MODULE, __FILE__, __LINE__) |
| #define | PLOG osgStartLog(false,OSG::LOG_LOG,OSG_LOG_MODULE, __FILE__, __LINE__) |
| #define | PFATAL osgStartLog(false,OSG::LOG_FATAL,OSG_LOG_MODULE, __FILE__, __LINE__) |
| #define | PWARNING osgStartLog(false,OSG::LOG_WARNING,OSG_LOG_MODULE, __FILE__, __LINE__) |
| #define | PNOTICE osgStartLog(false,OSG::LOG_NOTICE,OSG_LOG_MODULE, __FILE__, __LINE__) |
| #define | PINFO osgStartLog(false,OSG::LOG_INFO,OSG_LOG_MODULE, __FILE__, __LINE__) |
| #define | FLOG(par) |
| #define | FFATAL(par) |
| #define | FWARNING(par) |
| #define | FNOTICE(par) |
| #define | FINFO(par) |
| #define | FDEBUG(par) ; |
| #define | FASSERT(condition, doExit) |
| #define | FFASSERT(condition, doExit, par) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Value: { \
osg::initLog(); \
osg::osgStartLog(true,OSG::LOG_LOG,OSG_LOG_MODULE,__FILE__,__LINE__); \
osg::osgLogP->doLog par; \
osg::osgLogP->unlock(); \
} |
|
|
Value: { \
osg::initLog(); \
if (osg::osgLogP->checkLevel(osg::LOG_FATAL)) { \
osg::osgStartLog(true,osg::LOG_FATAL,OSG_LOG_MODULE,__FILE__,__LINE__); \
osg::osgLogP->doLog par; \
osg::osgLogP->unlock(); \
} \
} |
|
|
Value: { \
osg::initLog(); \
if (osg::osgLogP->checkLevel(osg::LOG_WARNING)) { \
osg::osgStartLog(true,osg::LOG_WARNING,OSG_LOG_MODULE,__FILE__,__LINE__); \
osg::osgLogP->doLog par; \
osg::osgLogP->unlock(); \
} \
} |
|
|
Value: { \
osg::initLog(); \
if (osg::osgLogP->checkLevel(osg::LOG_NOTICE)) { \
osg::osgStartLog(true,osg::LOG_NOTICE,OSG_LOG_MODULE,__FILE__,__LINE__); \
osg::osgLogP->doLog par; \
osg::osgLogP->unlock(); \
} \
} |
|
|
Value: { \
osg::initLog(); \
if (osg::osgLogP->checkLevel(osg::LOG_INFO)) { \
osg::osgStartLog(true,osg::LOG_INFO,OSG_LOG_MODULE,__FILE__,__LINE__); \
osg::osgLogP->doLog par; \
osg::osgLogP->unlock(); \
} \
} |
|
|
|
|
|
Value: { \
if (!condition) \
{ \
osg::osgLog().lock(); \
osg::osgLog().stream(osg::LOG_FATAL) \
<< OSG_LOG_MODULE << ':' << __FILE__ << ':' << __LINE__ \
<< "FATAL ASSERT: " \
<< (doExit ? "exit system" : "try to keep running") \
<< flush << endl; \
osg::osgLog().unlock(); \
if (doExit) \
exit(-1); \
} \
} \ |
|
|
Value: { \
if (!condition) \
{ \
OSG::osgLog().lock(); \
OSG::osgLog().stream(OSG::LOG_FATAL) \
<< OSG_LOG_MODULE << ':' << __FILE__ << ':' << __LINE__ \
<< "FATAL ASSERT: " \
<< (doExit ? "exit system" : "try to keep running") \
<< flush << endl; \
OSG::osgLogP->doLog par \
OSG::osgLog().unlock(); \
if (doExit) \
exit(-1); \
} \
} \ |
1.2.16