core.medplumclient.setverbose
Home > @medplum/core > MedplumClient > setVerbose
MedplumClient.setVerbose() method
Sets the verbose mode for the client. When verbose is enabled, the client will log all requests and responses to the console.
Signature:
setVerbose(verbose: boolean): void;
Parameters
Parameter | Type | Description |
|---|---|---|
verbose | boolean | Whether to enable verbose logging. |
Returns:
void
Example
medplum.setVerbose(true);
// Now all requests and responses will be logged
await medplum.searchResources('Patient');