Set the SDK log level.
This needs to be set as early as possible to ensure modules are initialised with the correct log settings.
The default level is info.
Lower case string for the desired log level.
Each severity level includes all the less severe levels.
public func setLogLevel(level: String) throws
- The log level: error, warn, info, debug or trace
- if invalid level