UNPKG

@gork-labs/secondbrain-mcp

Version:

Second Brain MCP Server - Agent team orchestration with dynamic tool discovery

35 lines (34 loc) 1.37 kB
export type LogLevel = 'debug' | 'info' | 'warn' | 'error'; export interface LogEntry { timestamp: string; level: LogLevel; message: string; context?: Record<string, any>; sessionId?: string; correlationId?: string; } declare class Logger { private logLevel; private structured; constructor(); private shouldLog; private formatMessage; debug(message: string, context?: Record<string, any>): void; info(message: string, context?: Record<string, any>): void; warn(message: string, context?: Record<string, any>): void; error(message: string, context?: Record<string, any>): void; withSession(sessionId: string): { debug: (message: string, context?: Record<string, any>) => void; info: (message: string, context?: Record<string, any>) => void; warn: (message: string, context?: Record<string, any>) => void; error: (message: string, context?: Record<string, any>) => void; }; withCorrelation(correlationId: string): { debug: (message: string, context?: Record<string, any>) => void; info: (message: string, context?: Record<string, any>) => void; warn: (message: string, context?: Record<string, any>) => void; error: (message: string, context?: Record<string, any>) => void; }; } export declare const logger: Logger; export {};