mcp-use
Version:
A utility library for integrating Model Context Protocol (MCP) with LangChain, Zod, and related tools. Provides helpers for schema conversion, event streaming, and SDK usage.
20 lines • 733 B
TypeScript
import type { Logger as WinstonLogger } from 'winston';
export type LogLevel = 'error' | 'warn' | 'info' | 'http' | 'verbose' | 'debug' | 'silly';
interface LoggerOptions {
level?: LogLevel;
console?: boolean;
file?: string;
format?: 'minimal' | 'detailed' | 'emoji';
}
export declare class Logger {
private static instances;
private static currentFormat;
static get(name?: string): WinstonLogger;
private static getFormatter;
static configure(options?: LoggerOptions): void;
static setDebug(enabled: boolean | 0 | 1 | 2): void;
static setFormat(format: 'minimal' | 'detailed' | 'emoji'): void;
}
export declare const logger: WinstonLogger;
export {};
//# sourceMappingURL=logging.d.ts.map