Skip to main content
Glama
logger.d.ts961 B
export declare enum LogLevel { ERROR = 0, WARN = 1, INFO = 2, DEBUG = 3 } export interface LoggerConfig { level: LogLevel; prefix?: string; timestamp?: boolean; } export declare class Logger { private config; private static instance; private useFileLogging; private fileStream; private readonly isStdio; private readonly isDisabled; private readonly isHttp; private readonly isTest; constructor(config?: Partial<LoggerConfig>); static getInstance(config?: Partial<LoggerConfig>): Logger; private formatMessage; private log; error(message: string, ...args: any[]): void; warn(message: string, ...args: any[]): void; info(message: string, ...args: any[]): void; debug(message: string, ...args: any[]): void; setLevel(level: LogLevel): void; static parseLogLevel(level: string): LogLevel; } export declare const logger: Logger; //# sourceMappingURL=logger.d.ts.map

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/czlonkowski/n8n-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server