MCPcopy Index your code
hub / github.com/midrender/revideo / debug

Function debug

packages/core/src/utils/debug.ts:43–51  ·  view source on GitHub ↗
(payload: any)

Source from the content-addressed store, hash-verified

41 * @param payload - The payload to log
42 */
43export function debug(payload: any) {
44 const result: LogPayload = {message: stringify(payload)};
45
46 if (payload && typeof payload === 'object') {
47 result.object = payload;
48 }
49
50 useLogger().debug(result);
51}

Callers 1

debug.test.tsFile · 0.90

Calls 3

useLoggerFunction · 0.90
stringifyFunction · 0.85
debugMethod · 0.80

Tested by

no test coverage detected