All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dockerjava.core.command.LogContainerResultCallback Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
/*
 * 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.Frame;
import com.github.dockerjava.core.async.ResultCallbackTemplate;

/**
 *
 * @author Marcus Linke
 *
 */
public class LogContainerResultCallback extends ResultCallbackTemplate {

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy