changeset 1482:4791c09f915f

logging cleanup Ignore-this: 1d6636766a8496f285d9d3578e9ba331 darcs-hash:3233b0df312c59f23d9c3c42b701a81d15b7bba4
author drewp <drewp@bigasterisk.com>
date Mon, 06 Jan 2020 22:46:02 -0800
parents b3ef0886d16c
children 52924efe4472
files service/wifi/src/index.ts
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
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);
     }
   }