log
A console log message forwarded to Insights when insights.console is enabled.
Fields
4| Field | Type | Description |
|---|---|---|
event_type | string | Allowed value: log. |
severity | string | Console method that produced the message, e.g. "log", "info", "warn", "error", "debug". |
message | string | First argument when it is a string. Omitted when the first argument is not a string. |
args | array<any> | Remaining console arguments when the first argument is a string, or all arguments otherwise. |
Example
{ "event_type": "log", "severity": "info", "message": "User signed in", "args": [ 123, { "ok": true } ]}