## ILogger.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

- [ILogger.debug() method](/content/docs/sdk/core.ilogger.debug#iloggerdebug-method/index.html)  
- [Parameters](/content/docs/sdk/core.ilogger.debug#parameters/index.html)
