forked from mystiq/hydrogen-web
add logger to platform
This commit is contained in:
parent
91bd5f638c
commit
4c2abcf9c7
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ import {SessionInfoStorage} from "../../matrix/sessioninfo/localstorage/SessionI
|
||||||
import {SettingsStorage} from "./dom/SettingsStorage.js";
|
import {SettingsStorage} from "./dom/SettingsStorage.js";
|
||||||
import {UTF8} from "./dom/UTF8.js";
|
import {UTF8} from "./dom/UTF8.js";
|
||||||
import {OlmWorker} from "../../matrix/e2ee/OlmWorker.js";
|
import {OlmWorker} from "../../matrix/e2ee/OlmWorker.js";
|
||||||
|
import {IDBLogger} from "../../logs/IDBLogger.js";
|
||||||
import {RootView} from "./ui/RootView.js";
|
import {RootView} from "./ui/RootView.js";
|
||||||
import {Clock} from "./dom/Clock.js";
|
import {Clock} from "./dom/Clock.js";
|
||||||
import {ServiceWorkerHandler} from "./dom/ServiceWorkerHandler.js";
|
import {ServiceWorkerHandler} from "./dom/ServiceWorkerHandler.js";
|
||||||
|
@ -85,6 +86,7 @@ export class Platform {
|
||||||
this._paths = paths;
|
this._paths = paths;
|
||||||
this._container = container;
|
this._container = container;
|
||||||
this.utf8 = new UTF8();
|
this.utf8 = new UTF8();
|
||||||
|
this.logger = new IDBLogger("hydrogen_logs", this);
|
||||||
this.clock = new Clock();
|
this.clock = new Clock();
|
||||||
this.history = new History();
|
this.history = new History();
|
||||||
this.onlineStatus = new OnlineStatus();
|
this.onlineStatus = new OnlineStatus();
|
||||||
|
|
Loading…
Reference in a new issue