MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Chat_DisableLogging

Function Chat_DisableLogging

src/Chat.c:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void Chat_DisableLogging(void) {
94 Chat_Logging = false;
95 lastLogYear = -321;
96 Chat_AddRaw("&cDisabling chat logging");
97 CloseLogFile();
98}
99
100static cc_bool CreateLogsDirectory(void) {
101 static const cc_string dir = String_FromConst("logs");

Callers 4

CreateLogsDirectoryFunction · 0.85
OpenChatLogFunction · 0.85
AppendChatLogFunction · 0.85
ChO_SetLoggingFunction · 0.85

Calls 2

Chat_AddRawFunction · 0.85
CloseLogFileFunction · 0.70

Tested by

no test coverage detected