Skip to content

@camera.ui/sdk / types / LoggerService

Interface: LoggerService ​

Defined in: types.ts:8

Logger interface used throughout the SDK.

Every method takes an arbitrary list of arguments, joined with spaces by the host, and writes one log entry at the matching severity. debug and trace are dropped unless that level is enabled for the plugin.

Properties ​

attention ​

attention: (...args) => void

Defined in: types.ts:22

Log a highlighted entry that stands out in the log stream.

Parameters ​

args ​

...any[]

Returns ​

void


debug ​

debug: (...args) => void

Defined in: types.ts:18

Log a diagnostic entry, dropped unless debug logging is enabled.

Parameters ​

args ​

...any[]

Returns ​

void


error ​

error: (...args) => void

Defined in: types.ts:12

Log a failure or unexpected condition.

Parameters ​

args ​

...any[]

Returns ​

void


log ​

log: (...args) => void

Defined in: types.ts:10

Log an informational entry.

Parameters ​

args ​

...any[]

Returns ​

void


success ​

success: (...args) => void

Defined in: types.ts:16

Log a confirmation of a completed operation.

Parameters ​

args ​

...any[]

Returns ​

void


trace ​

trace: (...args) => void

Defined in: types.ts:20

Log a fine-grained diagnostic entry, dropped unless trace logging is enabled.

Parameters ​

args ​

...any[]

Returns ​

void


warn ​

warn: (...args) => void

Defined in: types.ts:14

Log a problem that does not stop execution.

Parameters ​

args ​

...any[]

Returns ​

void