set
set<
K>(opts):void
Sets one or more configuration options.
Type parameters
Section titled “Type parameters”• K extends Partial<configOpts>
Parameters
Section titled “Parameters”• opts: K
An object containing key-value pairs of configuration options.
Returns
Section titled “Returns”void
Remarks
Section titled “Remarks”This method allows setting multiple configuration options at once. It also updates the log level if provided.
Example
Section titled “Example”// Set multiple configuration optionsset({ customConfig: 'myValue' });