Class Log4JLoggerFactory
java.lang.Object
io.netty.util.internal.logging.InternalLoggerFactory
io.netty.util.internal.logging.Log4JLoggerFactory
Logger factory which creates an
Apache Log4J
logger.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnewInstance(String name) Creates a new logger instance with the specified name.Methods inherited from class InternalLoggerFactory
getDefaultFactory, getInstance, getInstance, setDefaultFactoryModifier and TypeMethodDescriptionstatic InternalLoggerFactoryReturns the default factory.static InternalLoggergetInstance(Class<?> clazz) Creates a new logger instance with the name of the specified class.static InternalLoggergetInstance(String name) Creates a new logger instance with the specified name.static voidsetDefaultFactory(InternalLoggerFactory defaultFactory) Changes the default factory.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Log4JLoggerFactory
Deprecated.UseINSTANCEinstead.
-
-
Method Details
-
newInstance
Description copied from class:InternalLoggerFactoryCreates a new logger instance with the specified name.- Specified by:
newInstancein classInternalLoggerFactory
-
INSTANCEinstead.