Skip to main content
Glama

Bucket Feature Flags MCP Server

Official
by reflagcom
logger.ts1.02 kB
export interface Logger { debug(message: string, ...args: any[]): void; info(message: string, ...args: any[]): void; warn(message: string, ...args: any[]): void; error(message: string, ...args: any[]): void; } export const quietConsoleLogger = { debug(_: string) { // do nothing }, info(_: string) { // do nothing }, warn(message: string, ...args: any[]) { console.warn(message, ...args); }, error(message: string, ...args: any[]) { console.error(message, ...args); }, }; export function loggerWithPrefix(logger: Logger, prefix: string): Logger { return { debug(message: string, ...args: any[]) { logger.debug(`${prefix} ${message}`, ...args); }, info(message: string, ...args: any[]) { logger.info(`${prefix} ${message}`, ...args); }, warn(message: string, ...args: any[]) { logger.warn(`${prefix} ${message}`, ...args); }, error(message: string, ...args: any[]) { logger.error(`${prefix} ${message}`, ...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/reflagcom/bucket-javascript-sdk'

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