Code example for Logger

Methods: info, log

0
    public void install(@Observes AndroidDeviceReady event) throws AndroidExecutionException, IOException {
 
        AndroidDevice device = event.getDevice();
 
        installServerAPK(device, droneConfiguration.get().getServerApk());
        log.info("Installation of Android Server APK for Arquillan Droidium web support was performed.");
 
        log.info("Starting Android Server for Arquillian Droidium web testing.");
        WebDriverMonkey monkey = new WebDriverMonkey(droneConfiguration.get().getLogFile());
        device.executeShellCommand(START_WEBDRIVER_HUB_CMD, monkey);
 
        log.info("Waiting until Android server for Arquillian Droidium web support is started.");
        waitUntilStarted(device, monkey);
 
        log.log(Level.INFO, "Creating port forwaring from {0} to {1} for Android server of Arquillian Droidium web support.",
            new Object[] { device.getDroneHostPort(), device.getDroneGuestPort() });
        device.createPortForwarding(device.getDroneHostPort(), device.getDroneGuestPort());
 
        androidServerInstalled.fire(new AndroidServerInstalled());
    }