coursierapi.Logger Maven / Gradle / Ivy
The 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