logog
logger optimized for games
|
#include <formatter.hpp>
Public Member Functions | |
virtual LOGOG_STRING & | Format (const Topic &topic, const Target &target) |
![]() | |
Formatter () | |
virtual void | RenderTimeOfDay () |
virtual TOPIC_FLAGS | GetTopicFlags (const Topic &topic) |
bool | GetShowTimeOfDay () const |
void | SetShowTimeOfDay (bool val) |
![]() | |
Object () | |
virtual | ~Object () |
void * | operator new (size_t nSize) |
void * | operator new[] (size_t nSize) |
void | operator delete (void *ptr) |
void | operator delete[] (void *ptr) |
Additional Inherited Members | |
![]() | |
static void * | Allocate (size_t nSize) |
static void | Deallocate (void *ptr) |
![]() | |
const LOGOG_CHAR * | ErrorDescription (const LOGOG_LEVEL_TYPE level) |
![]() | |
LOGOG_STRING | m_sMessageBuffer |
LOGOG_STRING | m_sIntBuffer |
bool | m_bShowTimeOfDay |
|
virtual |
Causes this formatter to format a topic into its own m_sMessageBuffer field, and thence to return a reference to that string. This function must be written to be efficient; it will be called for every logging operation. It is strongly recommended not to allocate or free memory in this function.
Implements Formatter.