Mercurial Hosting > luan
view slf4j/src/org/slf4j/impl/StaticLoggerBinder.java @ 1726:b5baa841ea1b
fix directive
author | Vadim Filimonov <fffilimonov@yandex.ru> |
---|---|
date | Thu, 11 Aug 2022 12:40:19 +0200 |
parents | 1437fb1f0956 |
children |
line wrap: on
line source
package org.slf4j.impl; import org.slf4j.ILoggerFactory; import org.slf4j.spi.LoggerFactoryBinder; public final class StaticLoggerBinder implements LoggerFactoryBinder { private static final ILoggerFactory loggerFactory = new GoodFactory(); public ILoggerFactory getLoggerFactory() { return loggerFactory; } public String getLoggerFactoryClassStr() { return GoodFactory.class.getName(); } private static final StaticLoggerBinder SINGLETON = new StaticLoggerBinder(); public static final StaticLoggerBinder getSingleton() { return SINGLETON; } }