Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Log levels in OGRE

📅 2014-Oct-03 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ ogre ⬩ 📚 Archive

There are 3 logging levels that can be specified in OGRE. These can be seen in the OgreMain/include/OgreLog.h file:

/** The level of detail to which the log will go into.
*/
enum LoggingLevel
{
    LL_LOW = 1,
    LL_NORMAL = 2,
    LL_BOREME = 3
};

There are 3 types of log messages that can be asked to be logged. These are also seen in OgreMain/include/OgreLog.h file:

/** The importance of a logged message.
*/
enum LogMessageLevel
{
    LML_TRIVIAL = 1,
    LML_NORMAL = 2,
    LML_CRITICAL = 3
};

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 @codeyarns@hachyderm.io📧