## Logger.debug() method

**Signature:**

```typescript
debug(msg: string, data?: Record<string, any> | Error): void;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| msg | string |  |
| data | Record<string, any> \| Error | _(Optional)_ |

**Returns:**

void

- [Logger.debug() method](/content/docs/sdk/core.logger.debug#loggerdebug-method/index.html)
- [Parameters](/content/docs/sdk/core.logger.debug#parameters/index.html)
