package pl.labno.bernard.htmlunified;
import com.gargoylesoftware.htmlunit.AlertHandler;
import com.gargoylesoftware.htmlunit.Page;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class AlertLogger implements AlertHandler {
private static final Log LOG = LogFactory.getLog(AlertLogger.class);
public void handleAlert(Page page, String message) {
LOG.info("Alert message:" + message);
}
}