UNPKG

finops-mcp-server

Version:

MCP server for FinOps Center cost optimization integration

32 lines 956 B
/** * Logger Utility * * This module provides structured logging functionality for the FinOps MCP Server. * It supports multiple log levels, JSON formatting, credential redaction, and correlation IDs. */ import { ServerConfig, Logger } from "../types/config"; /** * Generate a new correlation ID for request tracing */ export declare function generateCorrelationId(): string; /** * Set correlation ID for current context */ export declare function setCorrelationId(id: string): void; /** * Get current correlation ID */ export declare function getCorrelationId(): string | undefined; /** * Clear correlation ID */ export declare function clearCorrelationId(): void; /** * Create a configured logger instance with structured logging */ export declare function createLogger(config: ServerConfig): Logger; /** * Create a silent logger (for testing) */ export declare function createSilentLogger(): Logger; //# sourceMappingURL=logger.d.ts.map