UNPKG

ntfy-me-mcp

Version:

An ntfy MCP server for sending ntfy notifications to your self-hosted ntfy server from AI Agents 📤 (supports secure token auth & more - use with npx or docker!)

20 lines (19 loc) • 469 B
export class Logger { static instance; constructor() { } static getInstance() { if (!Logger.instance) { Logger.instance = new Logger(); } return Logger.instance; } info(message) { console.error(`[NTFYME-LOG-INFO]: ${message}`); } warn(message) { console.error(`[NTFYME-LOG-WARNING]: ${message}`); } error(message) { console.error(`[NTFYME-LOG-ERROR]: ${message}`); } }