Procedure:
Increase the log level of the Vivox SDK to print extra log messages useful for diagnosing or debugging issues. When contacting Support for help on a Vivox issue, you might be asked to raise the Vivox log level and provide logging. This guide describes how to do this using the Vivox 16.x Unity SDK.
Detailed instructions:
The method VivoxService.Instance.InitializeAsync() used to initialize Vivox has an optional parameter VivoxConfigurationOptions which can be used to increase the Vivox log level.
- Before initializing Vivox, create a new
VivoxConfigurationOptionsobject, initializing the propertyLogLevelto a value likeVivoxLogLevel.Debugfor enhanced logging. - Pass in your
VivoxConfigurationOptionsobject when callingInitializeAsync().
Example Code:
var vivoxOptions = new VivoxConfigurationOptions()
{
LogLevel = VivoxLogLevel.Debug,
};
await VivoxService.Instance.InitializeAsync(vivoxOptions);
--------------
Related Articles: