MCPcopy Create free account
hub / github.com/cppla/ServerStatus / logger_file

Function logger_file

server/src/system.c:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124static IOHANDLE logfile = 0;
125static void logger_file(const char *line)
126{
127 io_write(logfile, line, strlen(line));
128 io_write_newline(logfile);
129 io_flush(logfile);
130}
131
132void dbg_logger_stdout() { dbg_logger(logger_stdout); }
133void dbg_logger_debugger() { dbg_logger(logger_debugger); }

Callers

nothing calls this directly

Calls 3

io_writeFunction · 0.85
io_write_newlineFunction · 0.85
io_flushFunction · 0.85

Tested by

no test coverage detected