This commit is contained in:
Andras Schmelczer 2025-03-22 18:10:50 +00:00
parent eb9fadf714
commit 7153c06c63
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
3 changed files with 9 additions and 8 deletions

View file

@ -1,13 +1,14 @@
import type { WorkspaceLeaf } from "obsidian";
import { ItemView } from "obsidian";
import { LogLevel, LogLine, type SyncClient } from "sync-client";
import type { LogLine } from "sync-client";
import { LogLevel, type SyncClient } from "sync-client";
export class LogsView extends ItemView {
public static readonly TYPE = "logs-view";
public static readonly ICON = "logs";
private logsContainer: HTMLElement | undefined;
private logLineToElement: Map<LogLine, HTMLElement> = new Map();
private readonly logLineToElement = new Map<LogLine, HTMLElement>();
public constructor(
private readonly client: SyncClient,