#include <OgreLog.h>
Public Member Functions | |
| OGRE_AUTO_MUTEX | Log (const String &name, bool debugOutput=true, bool suppressFileOutput=false) |
| |
| ~Log () | |
| |
| const String & | getName () const |
| Return the name of the log. | |
| bool | isDebugOutputEnabled () const |
| Get whether debug output is enabled for this log. | |
| bool | isFileOutputSuppressed () const |
| Get whether file output is suppressed for this log. | |
| void | logMessage (const String &message, LogMessageLevel lml=LML_NORMAL, bool maskDebug=false) |
| Log a message to the debugger and to log file (the default is "<code>OGRE.log</code>"),. | |
| void | setDebugOutputEnabled (bool debugOutput) |
| |
| void | setLogDetail (LoggingLevel ll) |
| |
| LoggingLevel | getLogDetail () const |
| Gets the level of the log detail. | |
| void | addListener (LogListener *listener) |
| |
| void | removeListener (LogListener *listener) |
| |
Protected Types | |
| typedef std::vector < LogListener * > | mtLogListener |
Protected Attributes | |
| std::ofstream | mfpLog |
| LoggingLevel | mLogLevel |
| bool | mDebugOut |
| bool | mSuppressFile |
| String | mLogName |
| mtLogListener | mListeners |
Definition at line 85 of file OgreLog.h.
typedef std::vector<LogListener*> Ogre::Log::mtLogListener [protected] |
| OGRE_AUTO_MUTEX Ogre::Log::Log | ( | const String & | name, | |
| bool | debugOutput = true, |
|||
| bool | suppressFileOutput = false | |||
| ) |
| Ogre::Log::~Log | ( | ) |
| const String& Ogre::Log::getName | ( | ) | const |
| bool Ogre::Log::isDebugOutputEnabled | ( | ) | const |
| bool Ogre::Log::isFileOutputSuppressed | ( | ) | const |
| void Ogre::Log::logMessage | ( | const String & | message, | |
| LogMessageLevel | lml = LML_NORMAL, |
|||
| bool | maskDebug = false | |||
| ) |
Log a message to the debugger and to log file (the default is "<code>OGRE.log</code>"),.
| void Ogre::Log::setDebugOutputEnabled | ( | bool | debugOutput | ) |
| void Ogre::Log::setLogDetail | ( | LoggingLevel | ll | ) |
| LoggingLevel Ogre::Log::getLogDetail | ( | ) | const |
| void Ogre::Log::addListener | ( | LogListener * | listener | ) |
| A | valid listener derived class |
| void Ogre::Log::removeListener | ( | LogListener * | listener | ) |
| A | valid listener derived class |
std::ofstream Ogre::Log::mfpLog [protected] |
LoggingLevel Ogre::Log::mLogLevel [protected] |
bool Ogre::Log::mDebugOut [protected] |
bool Ogre::Log::mSuppressFile [protected] |
String Ogre::Log::mLogName [protected] |
mtLogListener Ogre::Log::mListeners [protected] |
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Mon Jun 16 12:50:17 2008