Top Description Methods
org.junit.platform.commons.logging

public Interface Logger

Known Direct Implementers
org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
Annotations
@API
status:INTERNAL
since:1.0
Static Imports
org.apiguardian.api.API.Status.INTERNAL

The Logger API serves as a simple logging facade for java.util.logging (JUL).
Since
1.0

Method Summary

Modifier and TypeMethod and Description
public void
config(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at config level.

public void
config(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at config level.

public void
debug(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at debug level.

public void
debug(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at debug level.

public void
error(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at error level.

public void
error(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at error level.

public void
info(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at info level.

public void
info(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at info level.

public void
trace(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at trace level.

public void
trace(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at trace level.

public void
warn(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at warning level.

public void
warn(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at warning level.

Method Detail

configback to summary
public void config(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at config level.

Maps to java.util.logging.Level#CONFIG in JUL.

configback to summary
public void config(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at config level.

Maps to java.util.logging.Level#CONFIG in JUL.

debugback to summary
public void debug(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at debug level.

Maps to java.util.logging.Level#FINE in JUL.

debugback to summary
public void debug(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at debug level.

Maps to java.util.logging.Level#FINE in JUL.

errorback to summary
public void error(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at error level.

Maps to java.util.logging.Level#SEVERE in JUL.

errorback to summary
public void error(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at error level.

Maps to java.util.logging.Level#SEVERE in JUL.

infoback to summary
public void info(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at info level.

Maps to java.util.logging.Level#INFO in JUL.

infoback to summary
public void info(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at info level.

Maps to java.util.logging.Level#INFO in JUL.

traceback to summary
public void trace(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at trace level.

Maps to java.util.logging.Level#FINER in JUL.

traceback to summary
public void trace(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at trace level.

Maps to java.util.logging.Level#FINER in JUL.

warnback to summary
public void warn(Supplier<String> messageSupplier)

Log the message from the provided messageSupplier at warning level.

Maps to java.util.logging.Level#WARNING in JUL.

warnback to summary
public void warn(@Nullable Throwable throwable, Supplier<String> messageSupplier)

Log the provided Throwable and message from the provided messageSupplier at warning level.

Maps to java.util.logging.Level#WARNING in JUL.