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 Object
implements LoggerFactory, Service
Deprecated.
Use SLF4J instead
A logger factory that delegates to SLF4J logging.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final classDeprecated.private static final classDeprecated. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates an instance of this logger factory.Slf4jLoggerFactory(org.slf4j.ILoggerFactory factory) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprivate org.slf4j.ILoggerFactoryDeprecated.Deprecated.Gets a logger for a class with the specified name.voidinitService(ServiceLocator locator) Deprecated.Provides the opportunity to initialize this service and to acquire other services for its operation from the locator.static booleanDeprecated.setLoggerFactory(org.slf4j.ILoggerFactory factory) Deprecated.
-
Field Details
-
AVAILABLE
private static final boolean AVAILABLEDeprecated. -
factory
private org.slf4j.ILoggerFactory factoryDeprecated.
-
-
Constructor Details
-
Slf4jLoggerFactory
public Slf4jLoggerFactory()Deprecated.Creates an instance of this logger factory. -
Slf4jLoggerFactory
@Inject Slf4jLoggerFactory(@Nullable org.slf4j.ILoggerFactory factory) Deprecated.
-
-
Method Details
-
isSlf4jAvailable
public static boolean isSlf4jAvailable()Deprecated. -
initService
Deprecated.Description copied from interface:ServiceProvides 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:
initServicein interfaceService- Parameters:
locator- The service locator, must not benull.
-
setLoggerFactory
Deprecated. -
getLogger
Deprecated.Description copied from interface:LoggerFactoryGets a logger for a class with the specified name.- Specified by:
getLoggerin 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.
-