Package io.netty.util.internal.logging
Class Slf4JLoggerFactory
java.lang.Object
io.netty.util.internal.logging.InternalLoggerFactory
io.netty.util.internal.logging.Slf4JLoggerFactory
Logger factory which creates a SLF4J
logger.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static InternalLoggerFactory
newInstance
(String name) Creates a new logger instance with the specified name.(package private) static InternalLogger
wrapLogger
(org.slf4j.Logger logger) Methods inherited from class io.netty.util.internal.logging.InternalLoggerFactory
getDefaultFactory, getInstance, getInstance, setDefaultFactory
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Slf4JLoggerFactory
Deprecated.UseINSTANCE
instead. -
Slf4JLoggerFactory
Slf4JLoggerFactory(boolean failIfNOP)
-
-
Method Details
-
newInstance
Description copied from class:InternalLoggerFactory
Creates a new logger instance with the specified name.- Specified by:
newInstance
in classInternalLoggerFactory
-
wrapLogger
-
getInstanceWithNopCheck
-
INSTANCE
instead.