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 InternalLoggerFactorynewInstance(java.lang.String name) Creates a new logger instance with the specified name.(package private) static InternalLoggerwrapLogger(org.slf4j.Logger logger) Methods inherited from class InternalLoggerFactory
getDefaultFactory, getInstance, getInstance, setDefaultFactoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Slf4JLoggerFactory
@Deprecated public Slf4JLoggerFactory()Deprecated.UseINSTANCEinstead. -
Slf4JLoggerFactory
Slf4JLoggerFactory(boolean failIfNOP)
-
-
Method Details
-
newInstance
Description copied from class:InternalLoggerFactoryCreates a new logger instance with the specified name.- Specified by:
newInstancein classInternalLoggerFactory
-
wrapLogger
-
getInstanceWithNopCheck
-
INSTANCEinstead.