Package org.eclipse.aether.spi.log
Class NullLoggerFactory
java.lang.Object
org.eclipse.aether.spi.log.NullLoggerFactory
- All Implemented Interfaces:
LoggerFactory
Deprecated.
Use SLF4J instead
A logger factory that disables any logging.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LoggerFactoryDeprecated.The singleton instance of this factory.static final LoggerDeprecated.The singleton logger used by this factory. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Gets a logger for a class with the specified name.static LoggergetSafeLogger(LoggerFactory loggerFactory, Class<?> type) Deprecated.Gets a logger from the specified factory for the given class, falling back to a logger from this factory if the specified factory isnullor fails to provide a logger.
-
Field Details
-
INSTANCE
Deprecated.The singleton instance of this factory. -
LOGGER
Deprecated.The singleton logger used by this factory.
-
-
Method Details
-
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.
-
getSafeLogger
Deprecated.Gets a logger from the specified factory for the given class, falling back to a logger from this factory if the specified factory isnullor fails to provide a logger.- Parameters:
loggerFactory- The logger factory from which to get the logger, may benull.type- The class for which to get the logger, must not benull.- Returns:
- The requested logger, never
null.
-