MCPcopy Create free account
hub / github.com/AS-AIGC/TranscriptHub / write_to_log_file

Function write_to_log_file

apps/backend/logger-writer.js:17–21  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

15
16// Default: non-blocking append for medium traffic
17function write_to_log_file(text) {
18 fs.appendFile(log_file, text + '\n', 'utf8', (err) => {
19 if (err) console.error('Failed to write to log file:', err);
20 });
21}
22
23/*
24// High-traffic mode (optional)

Callers 1

loggerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected