setLoggingConfiguration

To set or update the logging configuration call the following:
setLoggingConfiguration(config: MXOLoggingConfiguration | null): Promise<MXOResult<null>>

Example of usage:

const config = {
	levels : ['VERBOSE', 'DEBUG', 'ERROR'],
	components : ['ANY']
}

MedalliaMXO.setLoggingConfiguration(config)
	.then(mxoResult => {
		if (mxoResult.value && mxoResult.value.apiName) {
			// error case
			console.error(mxoResult.value)
		} else {
			// success case
			console.log("Configuration is set")
		}
	})
	.catch(error => {
                console.error(error)
	})
try {
	const config : MXOLoggingConfiguration = {
		levels : ['VERBOSE', 'DEBUG', 'ERROR'],
        	components : ['ANY']
	}

	const {value} = await MedalliaMXO.setLoggingConfiguration(config)
        if (value && value.apiName) {
            	// error case
            	console.error(value)
        } else {
            	// success case
            	console.log("Configuration is set")
        }
} catch (error) {
        console.error(error)
}