Client.setLogLevel()
DESCRIPTION
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.
Allowed strings:
Each severity level includes all the less severe levels.
DECLARATION
public func setLogLevel(level: String) throws
PARAMETERS
level:
- The log level: error, warn, info, debug or trace
THROWS ERRORS
NabtoEdgeClientError.INVALID_ARGUMENT:
- if invalid level