levelToString static method
Returns log level string from int
Implementation
static String levelToString(int level) {
switch (level) {
case LogLevel.AV_LOG_TRACE:
return "TRACE";
case LogLevel.AV_LOG_DEBUG:
return "DEBUG";
case LogLevel.AV_LOG_VERBOSE:
return "VERBOSE";
case LogLevel.AV_LOG_INFO:
return "INFO";
case LogLevel.AV_LOG_WARNING:
return "WARNING";
case LogLevel.AV_LOG_ERROR:
return "ERROR";
case LogLevel.AV_LOG_FATAL:
return "FATAL";
case LogLevel.AV_LOG_PANIC:
return "PANIC";
case LogLevel.AV_LOG_STDERR:
return "STDERR";
case LogLevel.AV_LOG_QUIET:
default:
return "";
}
}