Skip to main content
Glama
logger.ts720 B
/** * Logging utilities for the CloudFormation database module. * * This module configures and exports a logger instance that provides * standardized logging capabilities across the library. * * @module logger */ import adze, { setup } from "npm:adze@2.2.1"; // Use environment variable for log level or default to "info" const activeLevel = Deno.env.get("LOG_LEVEL") ?? "info"; // Configure the logger with timestamp and metadata setup({ // @ts-ignore Yeah yeah, it's okay - we know they could use a bad level activeLevel, meta: { "si": "is fun", }, }); // Create a sealed logger instance with emoji support and timestamps const logger = adze.withEmoji.timestamp.seal(); export default logger;

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/systeminit/si'

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