Function printMemoryLog

Prints full allocation list if memory profiler is enabled, otherwise does nothing

void printMemoryLog();