logog
logger optimized for games
|
#include <formatter.hpp>
Public Member Functions | |
const char * | Get (const char *fmt=LOGOG_DEFAULT_TIME_FORMAT) |
![]() | |
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 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 |