Class Slf4jLoggerFactory
- java.lang.Object
-
- org.eclipse.aether.internal.impl.slf4j.Slf4jLoggerFactory
-
- All Implemented Interfaces:
Service
,LoggerFactory
@Singleton @Named("slf4j") @Deprecated public class Slf4jLoggerFactory extends java.lang.Object implements LoggerFactory, Service
Deprecated.Use SLF4J insteadA logger factory that delegates to SLF4J logging.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
Slf4jLoggerFactory.Slf4jLogger
Deprecated.private static class
Slf4jLoggerFactory.Slf4jLoggerEx
Deprecated.
-
Constructor Summary
Constructors Constructor Description Slf4jLoggerFactory()
Deprecated.Creates an instance of this logger factory.Slf4jLoggerFactory(org.slf4j.ILoggerFactory factory)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private org.slf4j.ILoggerFactory
getFactory()
Deprecated.Logger
getLogger(java.lang.String name)
Deprecated.Gets a logger for a class with the specified name.void
initService(ServiceLocator locator)
Deprecated.Provides the opportunity to initialize this service and to acquire other services for its operation from the locator.static boolean
isSlf4jAvailable()
Deprecated.Slf4jLoggerFactory
setLoggerFactory(org.slf4j.ILoggerFactory factory)
Deprecated.
-
-
-
Method Detail
-
isSlf4jAvailable
public static boolean isSlf4jAvailable()
Deprecated.
-
initService
public void initService(ServiceLocator locator)
Deprecated.Description copied from interface:Service
Provides the opportunity to initialize this service and to acquire other services for its operation from the locator. A service must not save the reference to the provided service locator.- Specified by:
initService
in interfaceService
- Parameters:
locator
- The service locator, must not benull
.
-
setLoggerFactory
public Slf4jLoggerFactory setLoggerFactory(org.slf4j.ILoggerFactory factory)
Deprecated.
-
getLogger
public Logger getLogger(java.lang.String name)
Deprecated.Description copied from interface:LoggerFactory
Gets a logger for a class with the specified name.- Specified by:
getLogger
in interfaceLoggerFactory
- Parameters:
name
- The name of the class requesting a logger, must not benull
.- Returns:
- The requested logger, never
null
.
-
getFactory
private org.slf4j.ILoggerFactory getFactory()
Deprecated.
-
-