- java.lang.Object
-
- io.netty5.util.internal.logging.InternalLoggerFactory
-
- io.netty5.util.internal.logging.Slf4JLoggerFactory
-
public class Slf4JLoggerFactory extends InternalLoggerFactory
Logger factory which creates a SLF4J logger.
-
-
Field Summary
Fields Modifier and Type Field Description static InternalLoggerFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description Slf4JLoggerFactory()
Deprecated.UseINSTANCE
instead.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalLogger
newInstance(String name)
Creates a new logger instance with the specified name.-
Methods inherited from class io.netty5.util.internal.logging.InternalLoggerFactory
getDefaultFactory, getInstance, getInstance, setDefaultFactory
-
-
-
-
Field Detail
-
INSTANCE
public static final InternalLoggerFactory INSTANCE
-
-
Constructor Detail
-
Slf4JLoggerFactory
@Deprecated public Slf4JLoggerFactory()
Deprecated.UseINSTANCE
instead.
-
-
Method Detail
-
newInstance
public InternalLogger newInstance(String name)
Description copied from class:InternalLoggerFactory
Creates a new logger instance with the specified name.- Specified by:
newInstance
in classInternalLoggerFactory
-
-