@API(status=INTERNAL, since="1.0") public interface Logger
The
Logger API serves as a simple logging facade for
java.util.logging (JUL).- Since:
- 1.0
-
Method Summary
Modifier and Type Method Description voidconfig(Throwable throwable, Supplier<String> messageSupplier)Log the providedThrowableand message from the providedmessageSupplierat config level.voidconfig(Supplier<String> messageSupplier)Log the message from the providedmessageSupplierat config level.voiddebug(Throwable throwable, Supplier<String> messageSupplier)Log the providedThrowableand message from the providedmessageSupplierat debug level.voiddebug(Supplier<String> messageSupplier)Log the message from the providedmessageSupplierat debug level.voiderror(Throwable throwable, Supplier<String> messageSupplier)Log the providedThrowableand message from the providedmessageSupplierat error level.voiderror(Supplier<String> messageSupplier)Log the message from the providedmessageSupplierat error level.voidinfo(Throwable throwable, Supplier<String> messageSupplier)Log the providedThrowableand message from the providedmessageSupplierat info level.voidinfo(Supplier<String> messageSupplier)Log the message from the providedmessageSupplierat info level.voidtrace(Throwable throwable, Supplier<String> messageSupplier)Log the providedThrowableand message from the providedmessageSupplierat trace level.voidtrace(Supplier<String> messageSupplier)Log the message from the providedmessageSupplierat trace level.voidwarn(Throwable throwable, Supplier<String> messageSupplier)Log the providedThrowableand message from the providedmessageSupplierat warning level.voidwarn(Supplier<String> messageSupplier)Log the message from the providedmessageSupplierat warning level.
-
Method Details
-
error
Log the message from the providedmessageSupplierat error level.Maps to
Level.SEVEREin JUL. -
error
Log the providedThrowableand message from the providedmessageSupplierat error level.Maps to
Level.SEVEREin JUL. -
warn
Log the message from the providedmessageSupplierat warning level.Maps to
Level.WARNINGin JUL. -
warn
Log the providedThrowableand message from the providedmessageSupplierat warning level.Maps to
Level.WARNINGin JUL. -
info
Log the message from the providedmessageSupplierat info level.Maps to
Level.INFOin JUL. -
info
Log the providedThrowableand message from the providedmessageSupplierat info level.Maps to
Level.INFOin JUL. -
config
Log the message from the providedmessageSupplierat config level.Maps to
Level.CONFIGin JUL. -
config
Log the providedThrowableand message from the providedmessageSupplierat config level.Maps to
Level.CONFIGin JUL. -
debug
Log the message from the providedmessageSupplierat debug level.Maps to
Level.FINEin JUL. -
debug
Log the providedThrowableand message from the providedmessageSupplierat debug level.Maps to
Level.FINEin JUL. -
trace
Log the message from the providedmessageSupplierat trace level.Maps to
Level.FINERin JUL. -
trace
Log the providedThrowableand message from the providedmessageSupplierat trace level.Maps to
Level.FINERin JUL.
-