---
title: log
description: A console log message forwarded to Insights when insights.console is enabled.
url: https://docs.honeybadger.io/insights/event-types/js/log/
---

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

Category **Log** Fields **4** [@honeybadger-io/js](https://docs.honeybadger.io/lib/javascript/)

## Fields

| 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

```json
{
  "event_type": "log",
  "severity": "info",
  "message": "User signed in",
  "args": [
    123,
    {
      "ok": true
    }
  ]
}
```

---

## Try Honeybadger for FREE

Intelligent logging, error tracking, and Just Enough APM™ in one dev-friendly platform. Find and fix problems before users notice.

[Start free trial](https://app.honeybadger.io/users/sign_up)

[See plans and pricing](https://www.honeybadger.io/plans/)
