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

public Class ExtendedLoggerWrapper

extends AbstractLogger
Class Inheritance
Imports
org.apache.logging.log4j.Level, .Marker, org.apache.logging.log4j.message.Message, .MessageFactory, org.apache.logging.log4j.util.StackLocatorUtil

Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.

Field Summary

Modifier and TypeField and Description
protected final ExtendedLogger
logger

The wrapped Logger.

private static final long
Inherited from org.apache.logging.log4j.spi.AbstractLogger:
CATCHING_MARKERDEFAULT_FLOW_MESSAGE_FACTORY_CLASSDEFAULT_MESSAGE_FACTORY_CLASSENTRY_MARKEREXCEPTION_MARKEREXIT_MARKERFLOW_MARKERnameTHROWING_MARKER

Constructor Summary

AccessConstructor and Description
public
ExtendedLoggerWrapper(final ExtendedLogger
The Logger to wrap.
logger
,
final String
The name of the Logger.
name
,
final MessageFactory
TODO
messageFactory
)

Constructor that wraps and existing Logger.

Method Summary

Modifier and TypeMethod and Description
public Level
getLevel()

Implements org.apache.logging.log4j.Logger.getLevel.

Gets the Level associated with the Logger.

public boolean

Returns:

true if the event would be logged for the Level, Marker, Message and Throwable, false otherwise.
isEnabled
(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final Message
The Message.
message
,
final Throwable
A Throwable.
t
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Detect if the event would be logged.

public boolean

Returns:

true if the event would be logged for the Level, Marker, Object and Throwable, false otherwise.
isEnabled
(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final CharSequence
The message CharSequence.
message
,
final Throwable
A Throwable.
t
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Detect if the event would be logged.

public boolean

Returns:

true if the event would be logged for the Level, Marker, Object and Throwable, false otherwise.
isEnabled
(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final Object
The message.
message
,
final Throwable
A Throwable.
t
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Detect if the event would be logged.

public boolean

Returns:

true if the event would be logged for the Level, Marker, message and parameter.
isEnabled
(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Detect if the event would be logged.

public boolean

Returns:

true if the event would be logged for the Level, Marker, message and parameter.
isEnabled
(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object...
The parameters.
params
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Detect if the event would be logged.

public boolean
isEnabled(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object
the message parameters
p0
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Tests if logging is enabled.

public boolean
isEnabled(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object
the message parameters
p0
,
final Object
the message parameters
p1
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Tests if logging is enabled.

public boolean
isEnabled(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object
the message parameters
p0
,
final Object
the message parameters
p1
,
final Object
the message parameters
p2
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Tests if logging is enabled.

public boolean
isEnabled(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object
the message parameters
p0
,
final Object
the message parameters
p1
,
final Object
the message parameters
p2
,
final Object
the message parameters
p3
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Tests if logging is enabled.

public boolean
isEnabled(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object
the message parameters
p0
,
final Object
the message parameters
p1
,
final Object
the message parameters
p2
,
final Object
the message parameters
p3
,
final Object
the message parameters
p4
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Tests if logging is enabled.

public boolean
isEnabled(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object
the message parameters
p0
,
final Object
the message parameters
p1
,
final Object
the message parameters
p2
,
final Object
the message parameters
p3
,
final Object
the message parameters
p4
,
final Object
the message parameters
p5
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Tests if logging is enabled.

public boolean
isEnabled(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object
the message parameters
p0
,
final Object
the message parameters
p1
,
final Object
the message parameters
p2
,
final Object
the message parameters
p3
,
final Object
the message parameters
p4
,
final Object
the message parameters
p5
,
final Object
the message parameters
p6
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Determines if logging is enabled.

public boolean
isEnabled(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object
the message parameters
p0
,
final Object
the message parameters
p1
,
final Object
the message parameters
p2
,
final Object
the message parameters
p3
,
final Object
the message parameters
p4
,
final Object
the message parameters
p5
,
final Object
the message parameters
p6
,
final Object
the message parameters
p7
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Tests if logging is enabled.

public boolean
isEnabled(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object
the message parameters
p0
,
final Object
the message parameters
p1
,
final Object
the message parameters
p2
,
final Object
the message parameters
p3
,
final Object
the message parameters
p4
,
final Object
the message parameters
p5
,
final Object
the message parameters
p6
,
final Object
the message parameters
p7
,
final Object
the message parameters
p8
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Tests if logging is enabled.

public boolean
isEnabled(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Object
the message parameters
p0
,
final Object
the message parameters
p1
,
final Object
the message parameters
p2
,
final Object
the message parameters
p3
,
final Object
the message parameters
p4
,
final Object
the message parameters
p5
,
final Object
the message parameters
p6
,
final Object
the message parameters
p7
,
final Object
the message parameters
p8
,
final Object
the message parameters
p9
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Tests if logging is enabled.

public boolean

Returns:

true if the event would be logged for the Level, Marker, message and Throwable, false otherwise.
isEnabled
(final Level
The logging Level to check.
level
,
final Marker
A Marker or null.
marker
,
final String
The message.
message
,
final Throwable
A Throwable.
t
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.isEnabled.

Detect if the event would be logged.

public void
logMessage(final String
The fully qualified class name of the caller
fqcn
,
final Level
The logging level
level
,
final Marker
The Marker
marker
,
final Message
The Message.
message
,
final Throwable
A Throwable or null.
t
)

Implements org.apache.logging.log4j.spi.ExtendedLogger.logMessage.

Always log an event.

Inherited from org.apache.logging.log4j.spi.AbstractLogger:
alwaysatDebugatErroratFatalatInfoatLevelatTraceatWarncatchingcatchingcatchingcatchingMsgcheckMessageFactorydebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugdebugenterenterenterenterenterentryentryentryentryMsgentryMsgentryMsgerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorerrorexitexitexitexitexitMsgfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalfatalgetFlowMessageFactorygetLogBuildergetMessageFactorygetNamegetRecursionDepthinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoinfoisDebugEnabledisDebugEnabledisEnabledisEnabledisErrorEnabledisErrorEnabledisFatalEnabledisFatalEnabledisInfoEnabledisInfoEnabledisTraceEnabledisTraceEnabledisWarnEnabledisWarnEnabledloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogloglogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogIfEnabledlogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessagelogMessageprintfprintfrequiresLocationthrowingthrowingthrowingthrowingMsgtracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetracetraceEntrytraceEntrytraceEntrytraceEntrytraceEntrytraceExittraceExittraceExittraceExittraceExittraceExitwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarnwarn