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

coursier.internal.api.WrappedLogger Maven / Gradle / Ivy

The newest version!
package coursier.internal.api;

import coursierapi.Logger;
import coursier.cache.CacheLogger;

final class WrappedLogger implements Logger {
    private final CacheLogger logger;
    private WrappedLogger(CacheLogger logger) {
        this.logger = logger;
    }

    public static WrappedLogger of(CacheLogger logger) {
        return new WrappedLogger(logger);
    }

    public CacheLogger getLogger() {
        return logger;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy