useDevLogger
Overview
A utility function to create a logger that can be used in development mode.
Signature
useDevLogger(args)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| args | object | no | The arguments for the logger. |
args Properties
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| fieldContext | FieldContext | The field context to use for logging. | ||
| widgetContext | WidgetContext | The widget context to use for logging. |
Returns
- The logger object with methods for logging messages.
Source
client/lib/use/useDevLogger.js:29