MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / enableLogging

Function enableLogging

Engine/source/platform/platformMemory.cpp:1131–1141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1129#endif
1130
1131void enableLogging(const char* fileName)
1132{
1133 dStrcpy(gLogFilename, fileName, 256);
1134 if (!gEnableLogging)
1135 {
1136 gEnableLogging = true;
1137#ifdef TORQUE_DEBUG_GUARD
1138 initLog();
1139#endif
1140 }
1141}
1142
1143void disableLogging()
1144{

Callers

nothing calls this directly

Calls 2

dStrcpyFunction · 0.85
initLogFunction · 0.85

Tested by

no test coverage detected