IPluggableAppLogRecord
Home > @gooddata/sdk-pluggable-application-model > IPluggableAppLogRecord
IPluggableAppLogRecord interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
A structured OpenTelemetry log record forwarded by a pluggable application to the host shell.
Signature:
export interface IPluggableAppLogRecord
Remarks
Mirrors the shape of an OpenTelemetry LogRecord body/severity/attributes. The host emits it through its own page-level OTel logger (see IPluggableAppTelemetryCallbacks.logRecord), so the module does not need its own LoggerProvider. The host fills in the timestamp, resource and shared context (deployment / organization / user / source application) — the module supplies only the event-specific fields.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Record<string, unknown> |
(ALPHA) (Optional) Event-specific attributes (e.g. | ||
|
string |
(ALPHA) Log body — typically an event name such as | ||
|
number |
(ALPHA) (Optional) OTel severity number (1–24). Defaults to | ||
|
string |
(ALPHA) (Optional) OTel severity text, e.g. |