#include <defaultlog.h>
Default implementation of the Kaim::Log interface.
Inherits Kaim::BaseLog.
Public Member Functions | |
virtual void | ReleaseMemorySystemResources () |
void | SetLogToMode (LogToModeMask logToMode) |
void | SetupLogFile (const char *absoluteLogFileName, FileOpenerBase *fileOpener=0) |
virtual void | SetVisualDebugServer (VisualDebugServer *visualDebugServer) |
Static Public Member Functions | |
static BaseLog * | GetGlobalBaseLog () |
|
inlinestaticinherited |
BaseLog static functions must be used instead of Log::
|
virtual |
This is called in Kaim::BaseSystem::Destroy() before Navigation memory system is destroyed.
So, implementations of BaseLog relying on Kaim::BaseSystem resources (e.g. using KY_MALLOC or KY_NEW or Kaim::SysFile) should release these resources on this call. Otherwise, expect crashes.
Reimplemented from Kaim::BaseLog.
|
inline |
Sets the output locations in which debug messages will be printed.
logToMode is a bitmask composed of elements from the LogToMode enumeration.
void Kaim::DefaultLog::SetupLogFile | ( | const char * | absoluteLogFileName, |
FileOpenerBase * | fileOpener = 0 |
||
) |
.GwNavLog will be appended to absoluteLogFileName
|
inlinevirtual |
Beware, all logs will be sent through this VisualDebugServer.
Hence if you use the VisualDebugServer of one world, you'll also receive the log of a secondary world
Implements Kaim::BaseLog.