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

io.deephaven.internal.log.LoggerFactory Maven / Gradle / Ivy

The newest version!
//
// Copyright (c) 2016-2024 Deephaven Data Labs and Patent Pending
//
package io.deephaven.internal.log;

import io.deephaven.io.logger.Logger;

public interface LoggerFactory {
    static Logger getLogger(String name) {
        return getInstance().create(name);
    }

    static Logger getLogger(Class clazz) {
        return getInstance().create(clazz.getName());
    }

    static LoggerFactory getInstance() {
        return LoggerFactoryServiceLoaderImpl.INSTANCE.getInstance();
    }

    Logger create(String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy