class StreamLogger extends Thread {

    public StreamLogger(InputStream inputStream, Logger logger, Marker marker) {
        this.inputStream = checkNotNull(inputStream, "inputStream is null");
        this.logger = checkNotNull(logger, "logger is null");
        this.marker = checkNotNull(marker, "marker is null");

        setName(marker.getName());
        setDaemon(true);
    }

    public  StreamLogger(InputStream inputStream, Logger logger, Marker marker);

}