OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::LogListener Class Referenceabstract

#include <OgreLog.h>

+ Inheritance diagram for Ogre::LogListener:

Public Member Functions

virtual ~LogListener ()
virtual void messageLogged (const String &message, LogMessageLevel lml, bool maskDebug, const String &logName, bool &skipThisMessage)=0

Detailed Description

Pure Abstract class, derive this class and register to the Log to listen to log messages

Definition at line 74 of file OgreLog.h.

Constructor & Destructor Documentation

virtual Ogre::LogListener::~LogListener ( )

Definition at line 77 of file OgreLog.h.

Member Function Documentation

virtual void Ogre::LogListener::messageLogged ( const String message,
LogMessageLevel  lml,
bool  maskDebug,
const String logName,
bool &  skipThisMessage 
pure virtual
This is called whenever the log receives a message and is about to write it out
messageThe message to be logged
lmlThe message level the log is using
maskDebugIf we are printing to the console or not
logNameThe name of this log (so you can have several listeners for different logs, and identify them)
skipThisMessageIf set to true by the messageLogged() implementation message will not be logged

Implemented in Ogre::AndroidLogListener.

The documentation for this class was generated from the following file: