#include <OgreLog.h>
Inheritance diagram for Ogre::Log:
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>"),. | |
Stream | stream (LogMessageLevel lml=LML_NORMAL, bool maskDebug=false) |
Get a stream object targetting this log. | |
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) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
Protected Types | |
typedef std::vector< LogListener * > | mtLogListener |
Protected Attributes | |
std::ofstream | mfpLog |
LoggingLevel | mLogLevel |
bool | mDebugOut |
bool | mSuppressFile |
String | mLogName |
mtLogListener | mListeners |
Classes | |
class | Stream |
Stream object which targets a log. More... |
Definition at line 87 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>"),.
|
|
Definition at line 101 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 95 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 89 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 112 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 106 of file OgreMemoryAllocatedObject.h. |
|
placement operator new
Definition at line 73 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 67 of file OgreMemoryAllocatedObject.h. |
|
operator new, with debug line info
Definition at line 62 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 84 of file OgreMemoryAllocatedObject.h. |
|
array operator new, with debug line info
Definition at line 79 of file OgreMemoryAllocatedObject.h. |
|
|
|
|
|
|
|
Get a stream object targetting this log.
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:48:53 2009