Top Description Inners Fields Constructors Methods
io.netty.util.internal.logging

public Class Slf4JLoggerFactory

extends InternalLoggerFactory
Class Inheritance
Imports
org.slf4j.Logger, .LoggerFactory, org.slf4j.helpers.NOPLoggerFactory, org.slf4j.spi.LocationAwareLogger

Logger factory which creates a SLF4J logger.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
public static final InternalLoggerFactory

Constructor Summary

AccessConstructor and Description
public
Slf4JLoggerFactory()

Deprecated Use INSTANCE instead.
pack-priv
Slf4JLoggerFactory(boolean failIfNOP)

Method Summary

Modifier and TypeMethod and Description
pack-priv static InternalLoggerFactory
public InternalLogger
newInstance(String name)

Implements abstract io.netty.util.internal.logging.InternalLoggerFactory.newInstance.

Creates a new logger instance with the specified name.
pack-priv static InternalLogger
Inherited from io.netty.util.internal.logging.InternalLoggerFactory:
getDefaultFactorygetInstancegetInstancesetDefaultFactory

Field Detail

INSTANCEback to summary
public static final InternalLoggerFactory INSTANCE
Annotations
@SuppressWarnings:deprecation

Constructor Detail

Slf4JLoggerFactoryback to summary
public Slf4JLoggerFactory()

Deprecated

Use INSTANCE instead.

Annotations
@Deprecated
Slf4JLoggerFactoryback to summary
pack-priv Slf4JLoggerFactory(boolean failIfNOP)

Method Detail

getInstanceWithNopCheckback to summary
pack-priv static InternalLoggerFactory getInstanceWithNopCheck()
newInstanceback to summary
public InternalLogger newInstance(String name)

Implements abstract io.netty.util.internal.logging.InternalLoggerFactory.newInstance.

Doc from io.netty.util.internal.logging.InternalLoggerFactory.newInstance.

Creates a new logger instance with the specified name.

Annotations
@Override
wrapLoggerback to summary
pack-priv static InternalLogger wrapLogger(Logger logger)
io.netty.util.internal.logging back to summary

private final Class Slf4JLoggerFactory.NopInstanceHolder

extends Object
Class Inheritance
  • java.lang.Object
  • io.netty.util.internal.logging.Slf4JLoggerFactory.NopInstanceHolder

Field Summary

Modifier and TypeField and Description
private static final InternalLoggerFactory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCE_WITH_NOP_CHECKback to summary
private static final InternalLoggerFactory INSTANCE_WITH_NOP_CHECK

Constructor Detail

NopInstanceHolderback to summary
private NopInstanceHolder()