fromAnalytics static method
Implementation
static AmplitudeLogLevel fromAnalytics(LogLevel level) {
return switch (level) {
LogLevel.off => AmplitudeLogLevel.none,
LogLevel.error => AmplitudeLogLevel.error,
LogLevel.warn => AmplitudeLogLevel.warn,
LogLevel.log => AmplitudeLogLevel.verbose,
LogLevel.debug => AmplitudeLogLevel.debug,
};
}