MCPcopy Create free account
hub / github.com/assaultcube/AC / exitlogging

Function exitlogging

source/src/log.cpp:78–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void exitlogging()
79{
80 loopi(ACLOG_NUM) loglevelenabled[i] = 0;
81 if(fp) { fclose(fp); fp = NULL; }
82#ifdef AC_USE_SYSLOG
83 if(enabled && syslogthreshold < ACLOG_NUM) closelog();
84#endif
85 syslogthreshold = ACLOG_NUM;
86 enabled = false;
87}
88
89bool logcheck(int level)
90{

Callers 2

cleanupserverFunction · 0.85
restartloggingFunction · 0.85

Calls 1

loopiFunction · 0.70

Tested by

no test coverage detected