MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / debugLogTable

Function debugLogTable

ui/plugins/ui/jasmine/jasmine-html.js:386–415  ·  view source on GitHub ↗
(debugLogs)

Source from the content-addressed store, hash-verified

384 }
385
386 function debugLogTable(debugLogs) {
387 const tbody = createDom("tbody")
388
389 debugLogs.forEach(function(entry) {
390 tbody.appendChild(
391 createDom(
392 "tr",
393 {},
394 createDom("td", {}, entry.timestamp.toString()),
395 createDom("td", {}, entry.message)
396 )
397 )
398 })
399
400 return createDom(
401 "div",
402 { className: "jasmine-debug-log" },
403 createDom("div", { className: "jasmine-debug-log-header" }, "Debug logs"),
404 createDom(
405 "table",
406 {},
407 createDom(
408 "thead",
409 {},
410 createDom("tr", {}, createDom("th", {}, "Time (ms)"), createDom("th", {}, "Message"))
411 ),
412 tbody
413 )
414 )
415 }
416
417 function summaryList(resultsTree, domParent) {
418 let specListNode

Callers 1

failureDomFunction · 0.85

Calls 3

createDomFunction · 0.85
toStringMethod · 0.80
appendChildMethod · 0.45

Tested by

no test coverage detected