net.java.trueupdate.artifact.impl.maven
Class LegacySlf4jLoggerFactory
java.lang.Object
net.java.trueupdate.artifact.impl.maven.LegacySlf4jLoggerFactory
- All Implemented Interfaces:
- org.eclipse.aether.spi.locator.Service, org.eclipse.aether.spi.log.LoggerFactory
public final class LegacySlf4jLoggerFactory
- extends Object
- implements org.eclipse.aether.spi.log.LoggerFactory, org.eclipse.aether.spi.locator.Service
A logger factory that delegates to Slf4J logging.
This is based on the original
org.eclipse.aether.internal.impl.Slf4jLoggerFactory and has been
patched to work with SLF4J API versions prior to 1.6.0, as endorsed by
Glassfish Embedded 3.1.1.
- Author:
- Sonatype, Inc (initial API and implementation), Christian Schlichtherle (edit to use SLF4J API < 1.6.0)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AVAILABLE
public static final boolean AVAILABLE
LegacySlf4jLoggerFactory
public LegacySlf4jLoggerFactory()
getLogger
public org.eclipse.aether.spi.log.Logger getLogger(String name)
- Specified by:
getLogger in interface org.eclipse.aether.spi.log.LoggerFactory
initService
public void initService(org.eclipse.aether.spi.locator.ServiceLocator locator)
- Specified by:
initService in interface org.eclipse.aether.spi.locator.Service
setLoggerFactory
public LegacySlf4jLoggerFactory setLoggerFactory(org.slf4j.ILoggerFactory factory)
Copyright © 2013 Stimulus Software. All rights reserved.