Types¶
Cross-cutting protocol types — LoggerService.
camera_ui_sdk.types ¶
LoggerService ¶
Bases: Protocol
Logger interface used throughout the SDK.
Each method accepts an arbitrary list of arguments (joined with spaces by the host) and emits a log entry at the corresponding severity:
- log: general informational message (default level).
- warn: potential problem that does not stop execution.
- error: a failure or unexpected condition.
- success: confirmation of a completed operation.
- debug: diagnostic detail; only emitted when debug logging is enabled.
- trace: very fine-grained diagnostic detail; only emitted when trace logging is enabled.
- attention: highlighted message that should stand out in the log stream.
success ¶
Log a success message (confirmation of a completed operation).
debug ¶
Log a debug message (diagnostic detail; only emitted when debug logging is enabled).
trace ¶
Log a trace message (very fine-grained detail; only emitted when trace logging is enabled).
attention ¶
Log an attention message (highlighted message that should stand out in the log stream).