Mercurial > code > home > repos > light9
changeset 2069:d678c2757cd4
config log() better. note that in chrome, you have to turn on 'verbose' in the console log to see anything :(
author | drewp@bigasterisk.com |
---|---|
date | Sat, 21 May 2022 17:06:25 -0700 |
parents | 4d248fb66d0c |
children | 2951a690f1ba |
files | light9/collector/web/Light9CollectorUi.ts |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/collector/web/Light9CollectorUi.ts Sat May 21 15:56:07 2022 -0700 +++ b/light9/collector/web/Light9CollectorUi.ts Sat May 21 17:06:25 2022 -0700 @@ -1,8 +1,10 @@ import { sortBy, uniq } from "underscore"; -import * as debug from "debug"; +import debug from "debug"; import { html, LitElement } from "lit"; import { customElement, property } from "lit/decorators.js"; -debug.enable("*"); + +debug.enable('*'); +const log = debug("collector"); class Updates { constructor() {