MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / log_message

Function log_message

packages/shared/src/utils.ts:64–67  ·  view source on GitHub ↗
(to: string, from: string, e: {kind: string, data: any})

Source from the content-addressed store, hash-verified

62}
63
64export function log_message(to: string, from: string, e: {kind: string, data: any}) {
65 // eslint-disable-next-line no-console
66 console.log(`${LOG_LABEL_CYAN} ${ANSI_CYAN}${to}${ANSI_RESET} <- ${ANSI_CYAN}${from}${ANSI_RESET}: ${ANSI_MAGENTA}${e.kind}${ANSI_RESET}:`, e.data)
67}
68
69export function formatTime(d: Date = new Date()): string {
70 return (

Callers 2

emitOutputFunction · 0.90
emitInputFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…