export interface LogEntry { timestamp: string; requestId: string; customModel: string; realModel?: string; provider?: string; endpoint: string; method: string; statusCode: number; durationMs: number; isStreaming: boolean; promptTokens?: number; completionTokens?: number; totalTokens?: number; cachedTokens?: number; userName?: string; clientIp?: string | null; modelGroup?: string; actualModel?: string; triedModels?: Array<{ model: string; exceeded: boolean; message?: string; }>; error?: { message: string; type?: string; }; } export declare class Logger { private logDir; private customFilename?; constructor(logDir: string, customFilename?: string); /** * 获取当前日期的日志文件路径 * 如果指定了自定义文件名(如测试中),使用自定义文件名 * 否则动态生成当天的文件名 */ private getCurrentLogPath; getFilePath(): string; log(entry: LogEntry): void; } //# sourceMappingURL=logger.d.ts.map