MCPcopy Create free account
hub / github.com/arctic-cli/interface / logDebug

Function logDebug

packages/arctic/src/auth/codex-oauth/logger.ts:65–73  ·  view source on GitHub ↗
(message: string, data?: unknown)

Source from the content-addressed store, hash-verified

63 * @param data - Optional data to log
64 */
65export function logDebug(message: string, data?: unknown): void {
66 if (!DEBUG_ENABLED) return
67
68 if (data !== undefined) {
69 console.log(`[arctic-codex-plugin] ${message}`, data)
70 } else {
71 console.log(`[arctic-codex-plugin] ${message}`)
72 }
73}
74
75/**
76 * Log warning (always enabled for important issues)

Callers 1

transformRequestBodyFunction · 0.50

Calls 1

logMethod · 0.45

Tested by

no test coverage detected