MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / writeLogLine

Function writeLogLine

packages/codex-native-api/src/daemon_manager.ts:1292–1294  ·  view source on GitHub ↗
(filePath: string, streamName: 'stdout' | 'stderr', line: string)

Source from the content-addressed store, hash-verified

1290}
1291
1292function writeLogLine(filePath: string, streamName: 'stdout' | 'stderr', line: string): void {
1293 writeLogChunk(filePath, streamName, `${new Date().toISOString()} ${line}\n`);
1294}
1295
1296function normalizeString(value: unknown): string {
1297 return typeof value === 'string' ? value.trim() : '';

Callers 2

stopFunction · 0.85
runSupervisorChildFunction · 0.85

Calls 1

writeLogChunkFunction · 0.85

Tested by

no test coverage detected