# Logger

**Kind**: interface | **Module**: [Insights](https://docs.interop.io/desktop/reference/javascript/insights/index.md)

**Source**: https://docs.interop.io/desktop/reference/javascript/insights/logger/index.html

Log interface that can be passed to library for its own logging.

## Properties

- **`level`** (`LoggerLogLevel`, optional)

## Methods

### debug

```ts
(message: string, args: unknown[]) => void
```

**Parameters**

- **`message`** (`string`, required)
- **`args`** (`unknown[]`, optional)

**Returns**: `void`

### error

```ts
(message: string, args: unknown[]) => void
```

**Parameters**

- **`message`** (`string`, required)
- **`args`** (`unknown[]`, optional)

**Returns**: `void`

### info

```ts
(message: string, args: unknown[]) => void
```

**Parameters**

- **`message`** (`string`, required)
- **`args`** (`unknown[]`, optional)

**Returns**: `void`

### verbose

```ts
(message: string, args: unknown[]) => void
```

**Parameters**

- **`message`** (`string`, required)
- **`args`** (`unknown[]`, optional)

**Returns**: `void`

### warn

```ts
(message: string, args: unknown[]) => void
```

**Parameters**

- **`message`** (`string`, required)
- **`args`** (`unknown[]`, optional)

**Returns**: `void`

## Related types

- [LoggerLogLevel](https://docs.interop.io/desktop/reference/javascript/insights/loggerloglevel/index.md)
