UNPKG

mem100x

Version:

⚡ The FASTEST MCP memory server ever built - 66k+ entities/sec with intelligent context detection

22 lines 1.19 kB
/** * Structured logging configuration using Winston * Provides performance tracking, error logging, and debugging capabilities */ import winston from 'winston'; declare const logger: winston.Logger; export declare class PerformanceTracker { private startTime; private operation; private metadata; constructor(operation: string, metadata?: Record<string, any>); end(additionalMetadata?: Record<string, any>): void; } export { logger }; export declare const logError: (message: string, error: Error, metadata?: Record<string, any>) => void; export declare const logPerf: (operation: string, duration: number, metadata?: Record<string, any>) => void; export declare const logQuery: (query: string, duration: number, rowCount: number, metadata?: Record<string, any>) => void; export declare const logCacheHit: (cache: string, key: string, hit: boolean) => void; export declare const logInfo: (message: string, metadata?: Record<string, any>) => void; export declare const logDebug: (message: string, metadata?: Record<string, any>) => void; export declare const logWarn: (message: string, metadata?: Record<string, any>) => void; //# sourceMappingURL=logger.d.ts.map