MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / logTo

Method logTo

util/Log.cpp:38–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37
38void Log::logTo(FILE *logFile_)
39{
40 CriticalSection::SafeLock l(mutex);
41 if(logFile_)
42 {
43 if(newFile)
44 {
45 fclose(logFile); newFile = false;
46 }
47 logFile = logFile_;
48 }
49}
50
51
52void Log::logTo(char *logFileName)

Callers 2

startFunction · 0.80
initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected