Mercurial > code > home > repos > homeauto
diff service/wifi/src/index.ts @ 681:1c04c7dfbae6
logging cleanup
Ignore-this: 1d6636766a8496f285d9d3578e9ba331
author | drewp@bigasterisk.com |
---|---|
date | Mon, 06 Jan 2020 22:46:02 -0800 |
parents | 8a49457a9737 |
children | b39d24617a85 |
line wrap: on
line diff
--- a/service/wifi/src/index.ts Mon Jan 06 22:43:48 2020 -0800 +++ b/service/wifi/src/index.ts Mon Jan 06 22:46:02 2020 -0800 @@ -47,11 +47,9 @@ connectedCallback() { super.connectedCallback(); - console.log("wifidisplay connected"); const sg = this.ownerDocument!.querySelector("streamed-graph"); sg?.addEventListener("graph-changed", ((ev: CustomEvent) => { this.graph = ev.detail!.value as VersionedGraph; - console.log("wifidisplay got new graph", this.graph); }) as EventListener); } @@ -67,8 +65,6 @@ return html` <div class="report"> - report at graph version ${this.graph.version} grouped: - ${Array.from(grouped.entries()).length} <table> ${Array.from(grouped.entries()).map((row: [string, DevGroup]) => { return this.renderGroup(row[0], row[1]); @@ -203,7 +199,7 @@ } grouped.get(key)!.devs.push(row); } else { - console.log("lost row", row); + console.log("row didn't get into any group:", row); } }