@thorium-dev-group/x402-mcp-extension
Version:
X402-MCP Protocol Extension
15 lines (14 loc) • 440 B
TypeScript
export interface ILogContext {
component?: string;
operation?: string;
requestId?: string;
sessionId?: string;
[key: string]: any;
}
export type LogLevel = 'error' | 'warn' | 'info' | 'debug';
export interface ILogger {
error(message: string, ...args: any[]): void;
warn(message: string, ...args: any[]): void;
info(message: string, ...args: any[]): void;
debug(message: string, ...args: any[]): void;
}