ESM
import "@arcgis/ai-components/components/arcgis-assistant-message-log";
Inheritance
ArcgisAssistantMessageLogHTMLElement

Renders expandable execution log details. Use it when exposing agent or tool trace output. Offers collapsible log entry rendering for debugging and troubleshooting.

Properties

PropertyAttributeType
log
log-enabled
show-log

log

Property
Type
string[] | undefined

logEnabled

Property
Type
boolean
Attribute
log-enabled
Default value
false

showLog

Property
Type
boolean
Attribute
show-log
Default value
false

Methods

MethodSignature
inherited
componentOnReady(): Promise<this>

componentOnReady

inherited Method
Signature
componentOnReady (): Promise<this>
Inherited from: this

Creates a promise that resolves once the component is fully loaded.

Returns
Promise<this>
Example
const arcgisAssistantMessageLog = document.createElement("arcgis-assistant-message-log");
document.body.append(arcgisAssistantMessageLog);
await arcgisAssistantMessageLog.componentOnReady();
console.log("arcgis-assistant-message-log is ready to go!");