getLogLevel method
Get constants for setting log level in analytics SDK.
Implementation
int getLogLevel(LogLevel logLevel) {
switch (logLevel) {
case LogLevel.verbose:
case LogLevel.debug:
case LogLevel.info:
case LogLevel.warn:
case LogLevel.error:
case LogLevel.assertion:
return logLevel.index + 2;
}
}