Skip to content

log

View Markdown

A console log message forwarded to Insights when insights.console is enabled.

Category Log Fields 4 @honeybadger-io/js

Fields

4
FieldTypeDescription
event_typestringAllowed value: log.
severitystringConsole method that produced the message, e.g. "log", "info", "warn", "error", "debug".
messagestringFirst argument when it is a string. Omitted when the first argument is not a string.
argsarray<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
}
]
}