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

Function logSignalValue

packages/logger/src/log.ts:242–250  ·  view source on GitHub ↗
(signal: Solid.Signal | NodeStateWithValue)

Source from the content-addressed store, hash-verified

240}
241
242export function logSignalValue(signal: Solid.Signal | NodeStateWithValue): void {
243 const {type, typeName, name, value} = getNodeStateWithValue(signal)
244 console.log(
245 `${inGray(typeName)} %c${name}%c ${inGray('=')}${getValueSpecifier(value)}`,
246 `${getNameStyle(type)}`,
247 '',
248 value,
249 )
250}
251
252export function logSignalValueUpdate(
253 {name, type}: NodeState,

Callers

nothing calls this directly

Calls 4

getNodeStateWithValueFunction · 0.85
inGrayFunction · 0.85
getValueSpecifierFunction · 0.85
getNameStyleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…