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

coursierapi.Logger Maven / Gradle / Ivy

There is a newer version: 1.0.24
Show newest version
package coursierapi;

import coursier.internal.api.ApiHelper;

import java.io.OutputStream;
import java.io.OutputStreamWriter;

public interface Logger {

    static Logger progressBars() {
        return ApiHelper.progressBarLogger(new OutputStreamWriter(System.err));
    }
    static Logger progressBars(OutputStream os) {
        return ApiHelper.progressBarLogger(new OutputStreamWriter(os));
    }
    static Logger progressBars(OutputStreamWriter writer) {
        return ApiHelper.progressBarLogger(writer);
    }

    static Logger nop() {
        return ApiHelper.nopLogger();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy