EditorLogSession extension

What only the editor that hosts the log does with it: start capturing for a session and stop. Exported by host.dart; a module only logs.

on

Methods

startSession({required JustDebuggerController controller}) → Future<void>

Available on EditorLogService, provided by the EditorLogSession extension

Starts capturing prints, Flutter errors and uncaught errors into the log, mirrored to controller; the lines of earlier sessions are read back first, once.
stopSession() → void

Available on EditorLogService, provided by the EditorLogSession extension

Stops capturing and lets go of the debugger.