Logger 1

The Logger interface exposes directives and events for the inter-process communication (IPC) client to provide logs to the Alexa client's native logger.

{
    "namespace": "Logger",
    "version": 1
}

Directives

There are no directives.

Events

Inbound messages from the IPC client about message logging.

logEvent

Send this event to log a message to the Alexa client’s native logger implementation.

Example message

{
    "header": {
        "version": 1
        "namespace": "Logger",
        "name": "logEvent"
    },
    "payload": {
        "level": "{{STRING}}",
        "message": "{{STRING}}"
    }
}
 

Payload parameters

Parameter Description Type
level Enumerated log level. Valid values:
ERROR
WARN
INFO
DEBUG
message Message to log. string