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.
  • Constructor Details

    • Slf4jLoggerFactory

      Deprecated.
      Creates an instance of this logger factory.
  • Method Details

    • 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 interface Service
      Parameters:
      locator - The service locator, must not be null.
    • setLoggerFactory

      public Slf4jLoggerFactory setLoggerFactory(org.slf4j.ILoggerFactory factory)
      Deprecated.
    • getLogger

      public Logger getLogger(String name)
      Deprecated.
      Description copied from interface: LoggerFactory
      Gets a logger for a class with the specified name.
      Specified by:
      getLogger in interface LoggerFactory
      Parameters:
      name - The name of the class requesting a logger, must not be null.
      Returns:
      The requested logger, never null.