|
logog
logger optimized for games
|
#include <formatter.hpp>
Inheritance diagram for FormatterMSVC:Public Member Functions | |
| virtual LOGOG_STRING & | Format (const Topic &topic, const Target &target) |
Public Member Functions inherited from Formatter | |
| Formatter () | |
| virtual void | RenderTimeOfDay () |
| virtual TOPIC_FLAGS | GetTopicFlags (const Topic &topic) |
| bool | GetShowTimeOfDay () const |
| void | SetShowTimeOfDay (bool val) |
Public Member Functions inherited from Object | |
| 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 Public Member Functions inherited from Object | |
| static void * | Allocate (size_t nSize) |
| static void | Deallocate (void *ptr) |
Protected Member Functions inherited from Formatter | |
| const LOGOG_CHAR * | ErrorDescription (const LOGOG_LEVEL_TYPE level) |
Protected Attributes inherited from Formatter | |
| 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.