Top Description Fields Constructors Methods
org.apache.logging.log4j.jul

public Class CoreLoggerAdapter

extends AbstractLoggerAdapter
Class Inheritance
Imports
java.util.logging.Logger, org.apache.logging.log4j.message.MessageFactory, .MessageFormatMessageFactory, org.apache.logging.log4j.spi.LoggerContext

Logger registry implementation that uses log4j-core.
Since
2.1

Field Summary

Modifier and TypeField and Description
private static final MessageFactory

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Logger
newLogger(final String
the name of the logger to create
name
,
final LoggerContext
the LoggerContext this logger will be associated with
context
)

Implements abstract org.apache.logging.log4j.spi.AbstractLoggerAdapter.newLogger.

Creates a new named logger for a given LoggerContext.

Inherited from org.apache.logging.log4j.jul.AbstractLoggerAdapter:
getContext

Field Detail

MESSAGE_FACTORYback to summary
private static final MessageFactory MESSAGE_FACTORY

Constructor Detail

CoreLoggerAdapterback to summary
public CoreLoggerAdapter()

Method Detail

newLoggerback to summary
protected Logger newLogger(final String name, final LoggerContext context)

Implements abstract org.apache.logging.log4j.spi.AbstractLoggerAdapter.newLogger.

Doc from org.apache.logging.log4j.spi.AbstractLoggerAdapter.newLogger.

Creates a new named logger for a given LoggerContext.

Parameters
name:String

the name of the logger to create

context:LoggerContext

the LoggerContext this logger will be associated with

Returns:Logger

the new named logger

Annotations
@Override