Module org.junit.platform.commons
Class LoggerFactory.DelegatingLogger
java.lang.Object
org.junit.platform.commons.logging.LoggerFactory.DelegatingLogger
- All Implemented Interfaces:
Logger
- Enclosing class:
LoggerFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Log the providedThrowable
and message from the providedmessageSupplier
at config level.void
Log the message from the providedmessageSupplier
at config level.private LogRecord
createLogRecord
(Level level, Throwable throwable, String message) void
Log the providedThrowable
and message from the providedmessageSupplier
at debug level.void
Log the message from the providedmessageSupplier
at debug level.void
Log the providedThrowable
and message from the providedmessageSupplier
at error level.void
Log the message from the providedmessageSupplier
at error level.void
Log the providedThrowable
and message from the providedmessageSupplier
at info level.void
Log the message from the providedmessageSupplier
at info level.private void
private static String
nullSafeGet
(Supplier<String> messageSupplier) void
Log the providedThrowable
and message from the providedmessageSupplier
at trace level.void
Log the message from the providedmessageSupplier
at trace level.void
Log the providedThrowable
and message from the providedmessageSupplier
at warning level.void
Log the message from the providedmessageSupplier
at warning level.
-
Field Details
-
FQCN
-
name
-
julLogger
-
-
Constructor Details
-
DelegatingLogger
DelegatingLogger(String name)
-
-
Method Details
-
error
Description copied from interface:Logger
Log the message from the providedmessageSupplier
at error level.Maps to
Level.SEVERE
in JUL. -
error
Description copied from interface:Logger
Log the providedThrowable
and message from the providedmessageSupplier
at error level.Maps to
Level.SEVERE
in JUL. -
warn
Description copied from interface:Logger
Log the message from the providedmessageSupplier
at warning level.Maps to
Level.WARNING
in JUL. -
warn
Description copied from interface:Logger
Log the providedThrowable
and message from the providedmessageSupplier
at warning level.Maps to
Level.WARNING
in JUL. -
info
Description copied from interface:Logger
Log the message from the providedmessageSupplier
at info level.Maps to
Level.INFO
in JUL. -
info
Description copied from interface:Logger
Log the providedThrowable
and message from the providedmessageSupplier
at info level.Maps to
Level.INFO
in JUL. -
config
Description copied from interface:Logger
Log the message from the providedmessageSupplier
at config level.Maps to
Level.CONFIG
in JUL. -
config
Description copied from interface:Logger
Log the providedThrowable
and message from the providedmessageSupplier
at config level.Maps to
Level.CONFIG
in JUL. -
debug
Description copied from interface:Logger
Log the message from the providedmessageSupplier
at debug level.Maps to
Level.FINE
in JUL. -
debug
Description copied from interface:Logger
Log the providedThrowable
and message from the providedmessageSupplier
at debug level.Maps to
Level.FINE
in JUL. -
trace
Description copied from interface:Logger
Log the message from the providedmessageSupplier
at trace level.Maps to
Level.FINER
in JUL. -
trace
Description copied from interface:Logger
Log the providedThrowable
and message from the providedmessageSupplier
at trace level.Maps to
Level.FINER
in JUL. -
log
-
createLogRecord
-
nullSafeGet
-