Deprecated
see https://github.com/eclipse-vertx/vert.x/issues/2774
By default logging will occur using JUL (Java-Util-Logging). The logging configuration file (logging.properties)
used by JUL will taken from the default logging.properties in the JDK installation if no java.util.logging.config.file system
property is set.
If you would prefer to use Log4J 2 or SLF4J instead of JUL then you can set a system property called
vertx.logger-delegate-factory-class-name to the class name of the delegate for your logging system.
For Log4J 2 the value is io., for SLF4J the value
is io.. You will need to ensure whatever jar files
required by your favourite log framework are on your classpath.
Keep in mind that logging backends use different formats to represent replaceable tokens in parameterized messages. As a consequence, if you rely on parameterized logging methods, you won't be able to switch backends without changing your code.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final LogDelegate |
| Access | Constructor and Description |
|---|---|
| public | Logger(final LogDelegate delegate)
Deprecated
see https://github.com/eclipse-vertx/vert.x/issues/2774
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public LogDelegate | Returns: the delegate instance sending operations to the underlying logging framework
Deprecated
see https://github.com/eclipse-vertx/vert.x/issues/2774
|
| public void | |
| public void | |
| public void | |
| public void | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| delegate | back to summary |
|---|---|
| pack-priv final LogDelegate delegate | |
| Logger | back to summary |
|---|---|
| public Logger(final LogDelegate delegate)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| debug | back to summary |
|---|---|
| public void debug(final Object message)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| debug | back to summary |
|---|---|
| public void debug(final Object message, final Throwable t)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| debug | back to summary |
|---|---|
| public void debug(final Object message, final Object... objects)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| debug | back to summary |
|---|---|
| public void debug(final Object message, final Throwable t, final Object... objects)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| error | back to summary |
|---|---|
| public void error(final Object message)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| error | back to summary |
|---|---|
| public void error(final Object message, final Throwable t)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| error | back to summary |
|---|---|
| public void error(final Object message, final Object... objects)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| error | back to summary |
|---|---|
| public void error(final Object message, final Throwable t, final Object... objects)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| fatal | back to summary |
|---|---|
| public void fatal(final Object message)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| fatal | back to summary |
|---|---|
| public void fatal(final Object message, final Throwable t)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| getDelegate | back to summary |
|---|---|
| public LogDelegate getDelegate()
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| info | back to summary |
|---|---|
| public void info(final Object message)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| info | back to summary |
|---|---|
| public void info(final Object message, final Throwable t)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| info | back to summary |
|---|---|
| public void info(final Object message, final Object... objects)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| info | back to summary |
|---|---|
| public void info(final Object message, final Throwable t, final Object... objects)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| isDebugEnabled | back to summary |
|---|---|
| public boolean isDebugEnabled()
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| isInfoEnabled | back to summary |
|---|---|
| public boolean isInfoEnabled()
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| isTraceEnabled | back to summary |
|---|---|
| public boolean isTraceEnabled()
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| isWarnEnabled | back to summary |
|---|---|
| public boolean isWarnEnabled()
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| trace | back to summary |
|---|---|
| public void trace(final Object message)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| trace | back to summary |
|---|---|
| public void trace(final Object message, final Throwable t)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| trace | back to summary |
|---|---|
| public void trace(final Object message, final Object... objects)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| trace | back to summary |
|---|---|
| public void trace(final Object message, final Throwable t, final Object... objects)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| warn | back to summary |
|---|---|
| public void warn(final Object message)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| warn | back to summary |
|---|---|
| public void warn(final Object message, final Throwable t)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| warn | back to summary |
|---|---|
| public void warn(final Object message, final Object... objects)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |
| warn | back to summary |
|---|---|
| public void warn(final Object message, final Throwable t, final Object... objects)
Deprecated see https://github.com/eclipse-vertx/vert.x/issues/2774
| |