UNPKG

ntfy-mcp-server

Version:

An MCP (Model Context Protocol) server designed to interact with the ntfy push notification service. It enables LLMs and AI agents to send notifications to your devices with extensive customization options.

37 lines (36 loc) 1.45 kB
export type ChildLogger = { debug: (message: string, context?: Record<string, unknown>) => void; info: (message: string, context?: Record<string, unknown>) => void; warn: (message: string, context?: Record<string, unknown>) => void; error: (message: string, context?: Record<string, unknown>) => void; }; declare class Logger { private static instance; private logger; private constructor(); static getInstance(): Logger; debug(message: string, context?: Record<string, unknown>): void; info(message: string, context?: Record<string, unknown>): void; warn(message: string, context?: Record<string, unknown>): void; error(message: string, context?: Record<string, unknown>): void; createChildLogger(metadata: { module: string; service?: string; serviceId?: string; componentName?: string; subscriberId?: string; component?: string; requestId?: string; subscriptionTime?: string; environment?: string; serverId?: string; [key: string]: any; }): { debug: (message: string, context?: Record<string, unknown>) => void; info: (message: string, context?: Record<string, unknown>) => void; warn: (message: string, context?: Record<string, unknown>) => void; error: (message: string, context?: Record<string, unknown>) => void; }; } export declare const logger: Logger; export {};