#include <OgreLogManager.h>
Inheritance diagram for Ogre::LogManager:
Public Methods | |
LogManager () | |
~LogManager () | |
Log * | createLog (const String &name, bool defaultLog=false, bool debuggerOutput=true) |
Creates a new log with the given name. | |
Log * | getLog (const String &name) |
Retrieves a log managed by this class. | |
Log * | getDefaultLog () |
Returns a pointer to the default log. | |
Log * | setDefaultLog (Log *newLog) |
Sets the passed in log as the default log. | |
void | logMessage (const String &message, LogMessageLevel lml=LML_NORMAL) |
Log a message to the default log. | |
void | logMessage (LogMessageLevel lml, const char *szMessage,...) |
Log a message, smarter form - allows a variable number of arguments. | |
void | setLogDetail (LoggingLevel ll) |
Sets the level of detail of the default log. | |
Static Public Methods | |
LogManager & | getSingleton (void) |
Override standard Singleton retrieval. | |
LogManager * | getSingletonPtr (void) |
Override standard Singleton retrieval. | |
Protected Types | |
typedef std::map< String, Log *, std::less< String > > | LogList |
Protected Attributes | |
LogList | mLogs |
A list of all the logs the manager can access. | |
Log * | mDefaultLog |
The default log to which output is done. | |
Static Protected Attributes | |
LogManager * | ms_Singleton = 0 |
Definition at line 46 of file OgreLogManager.h.
|
Definition at line 49 of file OgreLogManager.h. |
|
Definition at line 48 of file OgreLogManager.cpp. References mDefaultLog. |
|
Definition at line 53 of file OgreLogManager.cpp. References mLogs. |
|
Creates a new log with the given name.
Definition at line 63 of file OgreLogManager.cpp. References mDefaultLog, and mLogs. Referenced by Ogre::Root::Root(). |
|
Returns a pointer to the default log.
Definition at line 77 of file OgreLogManager.cpp. References Except, and mDefaultLog. Referenced by logMessage(), and setLogDetail(). |
|
Retrieves a log managed by this class.
Definition at line 92 of file OgreLogManager.cpp. |
|
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< LogManager >. Definition at line 43 of file OgreLogManager.cpp. References Ogre::Singleton< LogManager >::ms_Singleton. |
|
Override standard Singleton retrieval.
Reimplemented from Ogre::Singleton< LogManager >. Definition at line 39 of file OgreLogManager.cpp. References Ogre::Singleton< LogManager >::ms_Singleton. |
|
Log a message, smarter form - allows a variable number of arguments.
Definition at line 108 of file OgreLogManager.cpp. References getDefaultLog(), Ogre::Log::logMessage(), and Ogre::LogMessageLevel. |
|
Log a message to the default log.
Definition at line 103 of file OgreLogManager.cpp. References getDefaultLog(), Ogre::Log::logMessage(), and Ogre::LogMessageLevel. Referenced by Ogre::Root::Root(), and Ogre::Root::shutdown(). |
|
Sets the passed in log as the default log.
Definition at line 85 of file OgreLogManager.cpp. References mDefaultLog. |
|
Sets the level of detail of the default log.
Definition at line 120 of file OgreLogManager.cpp. References getDefaultLog(), Ogre::LoggingLevel, and Ogre::Log::setLogDetail(). |
|
The default log to which output is done.
Definition at line 55 of file OgreLogManager.h. Referenced by createLog(), getDefaultLog(), LogManager(), and setDefaultLog(). |
|
A list of all the logs the manager can access.
Definition at line 52 of file OgreLogManager.h. Referenced by createLog(), getLog(), and ~LogManager(). |
|
Definition at line 38 of file OgreLogManager.cpp. Referenced by getSingleton(), and getSingletonPtr(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Fri May 14 23:26:29 2004