public static String logLevelToString ( final int level ) { String logLevel ; switch ( level ) { case Project . MSG_DEBUG : logLevel = "DEBUG" ; break ; case Project . MSG_VERBOSE : logLevel = "VERBOSE" ; break ; case Project . MSG_INFO : logLevel = "INFO" ; break ; case Project . MSG_WARN : logLevel = "WARN" ; break ; case Project . MSG_ERR : logLevel = "ERROR" ; break ; default : logLevel = "UNKNOWN" ; break ; } return logLevel ; }
Returns a string representing the specified log level