Hosts the WebviewPanel for a device and wires it to the SSH log session.

Constructors

  • Builds a log panel for the given device and prepares event wiring.

    Parameters

    • context: ExtensionContext

      VS Code extension context used for resources and state.

    • target: LogPanelTarget

      Log panel target describing the remote device or local file.

    • onDispose: () => void

      Callback invoked when the panel is disposed.

    Returns LogPanel

Methods

  • Cleans up the panel and SSH session resources.

    Returns void

  • Registers a listener for panel view state changes.

    Parameters

    • listener: (e: WebviewPanelOnDidChangeViewStateEvent) => void

      Callback invoked when the panel visibility changes.

    Returns Disposable

    Disposable subscription handle.

  • Reveals the panel if it is hidden or behind other tabs.

    Returns void

  • Starts the underlying log session.

    Returns Promise<void>