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

Method shouldLog

src/logger.ts:99–101  ·  view source on GitHub ↗
(level: LogLevel)

Source from the content-addressed store, hash-verified

97 }
98
99 private shouldLog(level: LogLevel): boolean {
100 return logLevelValues[level] >= logLevelValues[this.currentLogLevel];
101 }
102
103 private formatLog(level: LogLevel, message: string, meta?: any) {
104 const timestamp = new Date().toISOString();

Callers 4

debugMethod · 0.95
infoMethod · 0.95
warnMethod · 0.95
errorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected