Top Description Fields Constructors Methods
io.vertx.core.logging

public Class Log4j2LogDelegate

extends Object
implements LogDelegate
Class Inheritance
All Implemented Interfaces
io.vertx.core.spi.logging.LogDelegate
Imports
io.vertx.core.spi.logging.LogDelegate, org.apache.logging.log4j.Level, org.apache.logging.log4j.message.FormattedMessage, .Message, org.apache.logging.log4j.spi.ExtendedLogger

A LogDelegate which delegates to Apache Log4j 2
Author
Clement Escoffier - [email protected]

Field Summary

Modifier and TypeField and Description
pack-priv static final String
pack-priv final ExtendedLogger

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public void
public boolean
public boolean
public boolean
public boolean
private void
log(Level level, Object message)

private void
log(Level level, Object message, Throwable t)

private void
log(Level level, String message, Object... params)

private void
log(Level level, String message, Throwable t, Object... params)

public void
public void
public void
public void
public Object
public void
public void
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FQCNback to summary
pack-priv static final String FQCN
Annotations
@SuppressWarnings:deprecation
loggerback to summary
pack-priv final ExtendedLogger logger

Constructor Detail

Log4j2LogDelegateback to summary
pack-priv Log4j2LogDelegate(final String name)

Method Detail

debugback to summary
public void debug(final Object message)

Implements io.vertx.core.spi.logging.LogDelegate.debug.

debugback to summary
public void debug(Object message, Object... params)

Implements io.vertx.core.spi.logging.LogDelegate.debug.

Annotations
@Override
debugback to summary
public void debug(final Object message, final Throwable t)

Implements io.vertx.core.spi.logging.LogDelegate.debug.

debugback to summary
public void debug(Object message, Throwable t, Object... params)

Implements io.vertx.core.spi.logging.LogDelegate.debug.

Annotations
@Override
errorback to summary
public void error(final Object message)

Implements io.vertx.core.spi.logging.LogDelegate.error.

errorback to summary
public void error(Object message, Object... params)

Implements io.vertx.core.spi.logging.LogDelegate.error.

Annotations
@Override
errorback to summary
public void error(final Object message, final Throwable t)

Implements io.vertx.core.spi.logging.LogDelegate.error.

errorback to summary
public void error(Object message, Throwable t, Object... params)

Implements io.vertx.core.spi.logging.LogDelegate.error.

Annotations
@Override
fatalback to summary
public void fatal(final Object message)

Implements io.vertx.core.spi.logging.LogDelegate.fatal.

fatalback to summary
public void fatal(final Object message, final Throwable t)

Implements io.vertx.core.spi.logging.LogDelegate.fatal.

infoback to summary
public void info(final Object message)

Implements io.vertx.core.spi.logging.LogDelegate.info.

infoback to summary
public void info(Object message, Object... params)

Implements io.vertx.core.spi.logging.LogDelegate.info.

Annotations
@Override
infoback to summary
public void info(final Object message, final Throwable t)

Implements io.vertx.core.spi.logging.LogDelegate.info.

infoback to summary
public void info(Object message, Throwable t, Object... params)

Implements io.vertx.core.spi.logging.LogDelegate.info.

Annotations
@Override
isDebugEnabledback to summary
public boolean isDebugEnabled()

Implements io.vertx.core.spi.logging.LogDelegate.isDebugEnabled.

isInfoEnabledback to summary
public boolean isInfoEnabled()

Implements io.vertx.core.spi.logging.LogDelegate.isInfoEnabled.

isTraceEnabledback to summary
public boolean isTraceEnabled()

Implements io.vertx.core.spi.logging.LogDelegate.isTraceEnabled.

isWarnEnabledback to summary
public boolean isWarnEnabled()

Implements io.vertx.core.spi.logging.LogDelegate.isWarnEnabled.

Annotations
@Override
logback to summary
private void log(Level level, Object message)
logback to summary
private void log(Level level, Object message, Throwable t)
logback to summary
private void log(Level level, String message, Object... params)
logback to summary
private void log(Level level, String message, Throwable t, Object... params)
traceback to summary
public void trace(final Object message)

Implements io.vertx.core.spi.logging.LogDelegate.trace.

traceback to summary
public void trace(Object message, Object... params)

Implements io.vertx.core.spi.logging.LogDelegate.trace.

Annotations
@Override
traceback to summary
public void trace(final Object message, final Throwable t)

Implements io.vertx.core.spi.logging.LogDelegate.trace.

traceback to summary
public void trace(Object message, Throwable t, Object... params)

Implements io.vertx.core.spi.logging.LogDelegate.trace.

Annotations
@Override
unwrapback to summary
public Object unwrap()

Overrides default io.vertx.core.spi.logging.LogDelegate.unwrap.

Returns:Object

Doc from io.vertx.core.spi.logging.LogDelegate.unwrap.

the underlying framework logger object, null in the default implementation

Annotations
@Override
warnback to summary
public void warn(final Object message)

Implements io.vertx.core.spi.logging.LogDelegate.warn.

warnback to summary
public void warn(Object message, Object... params)

Implements io.vertx.core.spi.logging.LogDelegate.warn.

Annotations
@Override
warnback to summary
public void warn(final Object message, final Throwable t)

Implements io.vertx.core.spi.logging.LogDelegate.warn.

warnback to summary
public void warn(Object message, Throwable t, Object... params)

Implements io.vertx.core.spi.logging.LogDelegate.warn.

Annotations
@Override