OGRE-Next
2.3
Object-Oriented Graphics Rendering Engine
|
#include <OgreLog.h>
Classes | |
class | Stream |
Stream object which targets a log. More... | |
Public Member Functions | |
Log (const String &name, bool debugOutput=true, bool suppressFileOutput=false) | |
~Log () | |
void | addListener (LogListener *listener) |
LoggingLevel | getLogDetail () const |
Gets the level of the log detail. More... | |
const String & | getName () const |
Return the name of the log. More... | |
bool | isDebugOutputEnabled () const |
Get whether debug output is enabled for this log. More... | |
bool | isFileOutputSuppressed () const |
Get whether file output is suppressed for this log. More... | |
bool | isTimeStampEnabled () const |
Get whether time stamps are printed for this log. More... | |
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>"),. More... | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void | removeListener (LogListener *listener) |
void | setDebugOutputEnabled (bool debugOutput) |
void | setLogDetail (LoggingLevel ll) |
void | setTimeStampEnabled (bool timeStamp) |
Stream | stream (LogMessageLevel lml=LML_NORMAL, bool maskDebug=false) |
Get a stream object targeting this log. More... | |
Public Attributes | |
LightweightMutex | mMutex |
Ogre::Log::Log | ( | const String & | name, |
bool | debugOutput = true , |
||
bool | suppressFileOutput = false |
||
) |
Ogre::Log::~Log | ( | ) |
void Ogre::Log::addListener | ( | LogListener * | listener | ) |
listener | A valid listener derived class |
|
inline |
Gets the level of the log detail.
|
inline |
Return the name of the log.
|
inline |
Get whether debug output is enabled for this log.
|
inline |
Get whether file output is suppressed for this log.
|
inline |
Get whether time stamps are printed for this log.
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>"),.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
void Ogre::Log::removeListener | ( | LogListener * | listener | ) |
listener | A valid listener derived class |
void Ogre::Log::setDebugOutputEnabled | ( | bool | debugOutput | ) |
void Ogre::Log::setLogDetail | ( | LoggingLevel | ll | ) |
void Ogre::Log::setTimeStampEnabled | ( | bool | timeStamp | ) |
Stream Ogre::Log::stream | ( | LogMessageLevel | lml = LML_NORMAL , |
bool | maskDebug = false |
||
) |
Get a stream object targeting this log.
LightweightMutex Ogre::Log::mMutex |