String getLogCatCapture(final AndroidDevice aDevice, String level) {
		String log = null;
		switch (level) {
		case "VERBOSE":
			log = aDevice.getShellCommand("logcat -d long *:V");
			break;
		case "ERROR":
			log = aDevice.getShellCommand("logcat -d long *:E");
			break;
		case "INFO":
			log = aDevice.getShellCommand("logcat -d long *:I");
			break;
		case "WARN":
			log = aDevice.getShellCommand("logcat -d long *:W");
			break;
		default:
			log = aDevice.getShellCommand("logcat -d long");
			break;

		}
		return log;
	}