#include <KeosLogger.h>
Inheritance diagram for Keos::ILogger:

Public Member Functions | |
| virtual | ~ILogger () |
| Destructor. | |
Static Public Member Functions | |
| static void | SetLogger (ILogger *pLogger) |
| Change logger instance. | |
| static void | Log (const char *strFormat,...) |
| Log a message. | |
Protected Member Functions | |
| String | CurrentDate () const |
| Return the current date. | |
| String | CurrentTime () const |
| Return the current time. | |
Friends | |
| class | CRoot |
Definition at line 33 of file KeosLogger.h.
| Keos::ILogger::~ILogger | ( | ) | [virtual] |
| void Keos::ILogger::SetLogger | ( | ILogger * | pLogger | ) | [static] |
Change logger instance.
The instance past here will be destroyed by Logger, it must have dynamically been allocated.
| pLogger | New logger. |
Definition at line 39 of file KeosLogger.cpp.
| void Keos::ILogger::Log | ( | const char * | strFormat, | |
| ... | ||||
| ) | [static] |
Log a message.
| strFormat | Format of the message. | |
| ... | Optional parameters |
Definition at line 53 of file KeosLogger.cpp.
References Assert, and Write().
Referenced by Keos::CResourceManager::Add(), Keos::CWin32Window::Create(), Keos::CD3D9Window::Create(), Keos::COGLRenderSystem::CreateRenderWindow(), Keos::CD3D9RenderSystem::CreateRenderWindow(), Keos::CMaterial::CreateTexture(), Keos::IRenderTarget::Init(), Keos::COGLRenderSystem::InitGL(), Keos::COGLRenderSystem::Initialise(), Keos::CD3D9RenderSystem::Initialise(), Keos::CRoot::Initialise(), Keos::CXMLConfigFile::Load(), Keos::CDynLib::Load(), Keos::CFontManager::LoadFont(), Keos::CMDLQ1Loader::LoadFromFile(), Keos::CMDLQ1AnimatedLoader::LoadFromFile(), Keos::CMD2Loader::LoadFromFile(), Keos::CMD2AnimatedLoader::LoadFromFile(), Keos::CImagesLoader::LoadFromFile(), Keos::C3DSLoader::LoadFromFile(), Keos::CRenderSystemCapabilities::Log(), Keos::CResourceManager::Remove(), Keos::CRoot::RestoreConfig(), Keos::CRoot::SaveConfig(), Keos::CImagesLoader::SaveToFile(), Keos::IRenderSystem::SetConfigOption(), Keos::CRoot::Shutdown(), Keos::IRenderSystem::Shutdown(), Keos::CDynLib::Unload(), and Keos::IRenderTarget::~IRenderTarget().
| String Keos::ILogger::CurrentDate | ( | ) | const [protected] |
Return the current date.
Definition at line 72 of file KeosLogger.cpp.
References CurrentTime().
Referenced by Keos::CLoggerFile::CLoggerFile().
| String Keos::ILogger::CurrentTime | ( | ) | const [protected] |
Return the current time.
Definition at line 83 of file KeosLogger.cpp.
Referenced by Keos::CLoggerFile::CLoggerFile(), and CurrentDate().
friend class CRoot [friend] |
Definition at line 82 of file KeosLogger.h.
1.5.1-p1