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

pl.allegro.tech.build.axion.release.domain.logging.ReleaseLogger.groovy Maven / Gradle / Ivy

package pl.allegro.tech.build.axion.release.domain.logging

interface ReleaseLogger {

    void trace(String message)

    void debug(String message)

    void info(String message)

    void warn(String message)

    void error(String message)

    void quiet(String message)

    static class Factory {

        private static ReleaseLoggerFactory factory = new DefaultReleaseLoggerFactory()

        static void initialize(ReleaseLoggerFactory factory) {
            this.factory = factory
        }

        static ReleaseLogger logger(Class clazz) {
            return factory.logger(clazz)
        }

        static ReleaseLogger logger(String name) {
            return factory.logger(name)
        }

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy