/*
 * Created on 21.07.2015
 */
package com.github.dockerjava.core.command;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.github.dockerjava.api.model.Event;
import com.github.dockerjava.core.async.ResultCallbackTemplate;

/**
 *
 * @author marcus
 *
 */
public class EventsResultCallback extends ResultCallbackTemplate<EventsResultCallback, Event> {

    private final static Logger LOGGER = LoggerFactory.getLogger(EventsResultCallback.class);

    @Override
    public void onNext(Event item) {
        LOGGER.debug(item.toString());
    }
}
