#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 | 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.
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
Gets the level of the log detail.
|
|
|
Return the name of the log.
|
|
|
Get whether debug output is enabled for this log.
|
|
|
Get whether file output is suppressed for this log.
|
|
||||||||||||||||
|
Log a message to the debugger and to log file (the default is "<code>OGRE.log</code>"),.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright © 2000-2005 by The OGRE Team

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Sep 30 10:51:31 2007