|
logog
logger optimized for games
|
#include <formatter.hpp>
Inheritance diagram for TimeStamp:Public Member Functions | |
| const char * | Get (const char *fmt=LOGOG_DEFAULT_TIME_FORMAT) |
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) |
Protected Attributes | |
| char | cTimeString [LOGOG_TIME_STRING_MAX] |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| static void * | Allocate (size_t nSize) |
| static void | Deallocate (void *ptr) |
A helper object for generating a current timestamp as a string.
| const char* Get | ( | const char * | fmt = LOGOG_DEFAULT_TIME_FORMAT | ) |
Returns a pointer to a string representing the current time. Note! This pointer is only valid while this object is valid – if you destroy this object, this pointer is no longer valid.
|
protected |