/** * Internal logger interface for the LLM Gateway package. * Compatible with common logging libraries. */ export interface LLMLoggerInterface { /** * Log informational messages * @param message - The message to log * @param meta - Optional metadata to include with the log */ info(message: string, meta?: Record): void; /** * Log error messages * @param message - The error message to log * @param meta - Optional metadata to include with the log */ error(message: string, meta?: Record): void; /** * Log warning messages * @param message - The warning message to log * @param meta - Optional metadata to include with the log */ warn(message: string, meta?: Record): void; /** * Log debug messages (optional) * @param message - The debug message to log * @param meta - Optional metadata to include with the log */ debug?(message: string, meta?: Record): void; /** * Create a child logger with additional context * @param context - The context to add to the child logger * @returns A new logger instance with the additional context */ child(context: string): LLMLoggerInterface; }