Package io.netty.util.internal.logging
Class Log4JLoggerFactory
- java.lang.Object
-
- io.netty.util.internal.logging.InternalLoggerFactory
-
- io.netty.util.internal.logging.Log4JLoggerFactory
-
public class Log4JLoggerFactory extends InternalLoggerFactory
Logger factory which creates an Apache Log4J logger.
-
-
Field Summary
Fields Modifier and Type Field Description static InternalLoggerFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description Log4JLoggerFactory()Deprecated.UseINSTANCEinstead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalLoggernewInstance(java.lang.String name)Creates a new logger instance with the specified name.-
Methods inherited from class io.netty.util.internal.logging.InternalLoggerFactory
getDefaultFactory, getInstance, getInstance, setDefaultFactory
-
-
-
-
Field Detail
-
INSTANCE
public static final InternalLoggerFactory INSTANCE
-
-
Constructor Detail
-
Log4JLoggerFactory
@Deprecated public Log4JLoggerFactory()
Deprecated.UseINSTANCEinstead.
-
-
Method Detail
-
newInstance
public InternalLogger newInstance(java.lang.String name)
Description copied from class:InternalLoggerFactoryCreates a new logger instance with the specified name.- Specified by:
newInstancein classInternalLoggerFactory
-
-