Skip to content

set

set<K>(opts): void

Sets one or more configuration options.

K extends Partial<configOpts>

opts: K

An object containing key-value pairs of configuration options.

void

This method allows setting multiple configuration options at once. It also updates the log level if provided.

// Set multiple configuration options
set({ customConfig: 'myValue' });

config/src/Service.ts:82