MCPcopy Create free account
hub / github.com/aptdnfapt/qwen-code-oai-proxy / logToFile

Function logToFile

src/utils/fileLogger.ts:198–200  ·  view source on GitHub ↗
(requestId: string, content: string, statusCode: number, loggingState?: LoggingStateSnapshot)

Source from the content-addressed store, hash-verified

196}
197
198function logToFile(requestId: string, content: string, statusCode: number, loggingState?: LoggingStateSnapshot): void {
199 runtimeLoggingService.writeRequestLogContent(requestId, content, statusCode, loggingState);
200}
201
202function formatLogContent(requestId: string, req: RequestLike, transformedBody: unknown, statusCode: number, latency: number, output: unknown): string {
203 let logContent = `requestId: ${requestId}\n`;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected