Skip to main content
Glama
danielsimonjr

Enhanced Knowledge Graph Memory Server

logger.ts920 B
/** * Simple logging utility for the Memory MCP Server * * Provides consistent log formatting with levels: debug, info, warn, error */ export const logger = { /** * Debug level logging (verbose, for development) */ debug: (msg: string, ...args: unknown[]): void => { if (process.env.LOG_LEVEL === 'debug') { console.debug(`[DEBUG] ${msg}`, ...args); } }, /** * Info level logging (general informational messages) */ info: (msg: string, ...args: unknown[]): void => { console.log(`[INFO] ${msg}`, ...args); }, /** * Warning level logging (warnings that don't prevent operation) */ warn: (msg: string, ...args: unknown[]): void => { console.warn(`[WARN] ${msg}`, ...args); }, /** * Error level logging (errors that affect functionality) */ error: (msg: string, ...args: unknown[]): void => { console.error(`[ERROR] ${msg}`, ...args); }, };

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/danielsimonjr/memory-mcp'

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