core.medplumclient.setverbose | Medplum
MedplumClient.setVerbose() method
Warning: This API is now obsolete.
Use setLogLevel instead. This method will be removed in a future version.
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');