# ConsoleAPI
Console API for plugin logging.

{/* Do not edit this file. It is automatically generated by API Documenter. */}

## ConsoleAPI interface

Console API for plugin logging.

**Signature:**

```typescript
interface ConsoleAPI
```

## Remarks

Similar to the browser console API but works within the plugin sandbox environment.

## Properties

<table>
  <thead>
    <tr>
      <th>
        Property
      </th>

      <th>
        Modifiers
      </th>

      <th>
        Type
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        [debug](/en/creator-api/globals/console-api/debug)
      </td>

      <td />

      <td>
        (...args: unknown\[]) => void
      </td>

      <td>
        Logs a debug message
      </td>
    </tr>

    <tr>
      <td>
        [error](/en/creator-api/globals/console-api/error)
      </td>

      <td />

      <td>
        (...args: unknown\[]) => void
      </td>

      <td>
        Logs an error message
      </td>
    </tr>

    <tr>
      <td>
        [info](/en/creator-api/globals/console-api/info)
      </td>

      <td />

      <td>
        (...args: unknown\[]) => void
      </td>

      <td>
        Logs an info message
      </td>
    </tr>

    <tr>
      <td>
        [log](/en/creator-api/globals/console-api/log)
      </td>

      <td />

      <td>
        (...args: unknown\[]) => void
      </td>

      <td>
        Logs a message
      </td>
    </tr>

    <tr>
      <td>
        [warn](/en/creator-api/globals/console-api/warn)
      </td>

      <td />

      <td>
        (...args: unknown\[]) => void
      </td>

      <td>
        Logs a warning message
      </td>
    </tr>
  </tbody>
</table>
