Skip to content

ui/blueskylogging/CreateLogManager

Classes

CreateLogManager

Defined in: ui/blueskylogging/CreateLogManager.ts:45

Wires the "+ Create Log" button and dialog in the Output Log tab: composes BlueSky CRELOG/ADD/ON commands from the form, and renders a quick Start/Stop chip per logger created this session so a log can be toggled without retyping console commands.

Constructors

Constructor
new CreateLogManager(): CreateLogManager;

Defined in: ui/blueskylogging/CreateLogManager.ts:77

Returns

CreateLogManager

Methods

openDialog()
openDialog(): void;

Defined in: ui/blueskylogging/CreateLogManager.ts:223

Returns

void

addCustomVariable()
addCustomVariable(): Promise<void>;

Defined in: ui/blueskylogging/CreateLogManager.ts:303

Validate the typed custom variable against the running simulation (LSVAR round-trip) and add it to the grid + the persistent list. 'not-found' blocks the add; 'unknown' (no simulation connected, or no reply) adds it unverified.

Returns

Promise\<void>

removeCustomVariable()
removeCustomVariable(name): void;

Defined in: ui/blueskylogging/CreateLogManager.ts:351

Forget a saved custom variable (removes it from the persistent list).

Parameters
name

string

Returns

void

submit()
submit(): Promise<void>;

Defined in: ui/blueskylogging/CreateLogManager.ts:408

Returns

Promise\<void>

getTrackedLoggers()
getTrackedLoggers(): ReadonlyMap<string, {
  name: string;
  dt: number;
  running: boolean;
}>;

Defined in: ui/blueskylogging/CreateLogManager.ts:480

Loggers created through this dialog in this browser session.

Returns

ReadonlyMap\<string, { name: string; dt: number; running: boolean; }>

Variables

createLogManager

const createLogManager: CreateLogManager;

Defined in: ui/blueskylogging/CreateLogManager.ts:485

References

buildCreateLogCommands

Re-exports buildCreateLogCommands


LOG_VARIABLE_PRESETS

Re-exports LOG_VARIABLE_PRESETS


validateLogSpec

Re-exports validateLogSpec


CreateLogSpec

Re-exports CreateLogSpec


LogVariablePreset

Re-exports LogVariablePreset