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
VivoxConfigurationOptions
object, initializing the propertyLogLevel
to a value likeVivoxLogLevel.Debug
for enhanced logging. - Pass in your
VivoxConfigurationOptions
object when callingInitializeAsync()
.
Example Code:
var vivoxOptions = new VivoxConfigurationOptions()
{
LogLevel = VivoxLogLevel.Debug,
};
await VivoxService.Instance.InitializeAsync(vivoxOptions);
--------------
Related Articles: