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 InternalLoggerFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description Log4JLoggerFactory()
Deprecated.UseINSTANCE
instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalLogger
newInstance(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.UseINSTANCE
instead.
-
-
Method Detail
-
newInstance
public InternalLogger newInstance(java.lang.String name)
Description copied from class:InternalLoggerFactory
Creates a new logger instance with the specified name.- Specified by:
newInstance
in classInternalLoggerFactory
-
-