MCPcopy Index your code
hub / github.com/CommandCodeAI/BaseAI / dlog

Function dlog

packages/baseai/src/dev/utils/dlog.ts:55–73  ·  view source on GitHub ↗
(
	anyKey: unknown,
	anyValue?: unknown,
	sensitive?: string
)

Source from the content-addressed store, hash-verified

53};
54
55export const dlog = (
56 anyKey: unknown,
57 anyValue?: unknown,
58 sensitive?: string
59): void => {
60 if (!DEBUG) return;
61
62 if (
63 typeof anyKey === 'object' &&
64 anyKey !== null &&
65 anyValue === undefined
66 ) {
67 Object.entries(anyKey).forEach(([key, value]) =>
68 logKeyValue(key, value, sensitive || key)
69 );
70 } else {
71 logKeyValue(String(anyKey), anyValue, sensitive);
72 }
73};

Callers 15

deployMemoryFunction · 0.90
upsertMemoryFunction · 0.90
uploadDocumentsToMemoryFunction · 0.90
getSignedUploadUrlFunction · 0.90
deleteDocumentFunction · 0.90
uploadDocumentFunction · 0.90
overwriteMemoryFunction · 0.90
addContextFromMemoryFunction · 0.90
generateEmbeddingsFunction · 0.90
retrieveMemoryFunction · 0.90
handleProviderRequestFunction · 0.90

Calls 1

logKeyValueFunction · 0.85

Tested by

no test coverage detected