MCPcopy Index your code
hub / github.com/PaystackOSS/paystack-mcp-server / createLogger

Function createLogger

src/logger.ts:181–184  ·  view source on GitHub ↗
(cliApiKey?: string)

Source from the content-addressed store, hash-verified

179 * Create a logger instance with configuration
180 */
181export function createLogger(cliApiKey?: string): Logger {
182 const config = getConfig(cliApiKey);
183 return new Logger(config.LOG_LEVEL as LogLevel);
184}
185
186// Default logger instance for backward compatibility (uses environment variable)
187export const logger = new Logger();

Callers

nothing calls this directly

Calls 1

getConfigFunction · 0.85

Tested by

no test coverage detected