MCPcopy Create free account
hub / github.com/e2b-dev/surf / logDebug

Function logDebug

lib/logger.ts:24–32  ·  view source on GitHub ↗
(msg: string, ...args: unknown[])

Source from the content-addressed store, hash-verified

22};
23
24export const logDebug = (msg: string, ...args: unknown[]) => {
25 if (args.length === 1) {
26 logger.debug({ data: args[0] }, msg);
27 } else if (args.length > 1) {
28 logger.debug({ data: args }, msg);
29 } else {
30 logger.debug(msg);
31 }
32};
33
34export const logSuccess = (msg: string, ...args: unknown[]) => {
35 if (args.length === 1) {

Callers 3

sendMessageFunction · 0.90
streamMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected