Interface Logger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
config(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at config level.void
config(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at config level.void
debug(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at debug level.void
debug(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at debug level.void
error(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at error level.void
error(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at error level.void
info(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at info level.void
info(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at info level.void
trace(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at trace level.void
trace(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at trace level.void
warn(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at warning level.void
warn(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at warning level.
-
-
-
Method Detail
-
error
void error(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at error level.Maps to
Level.SEVERE
in JUL.
-
error
void error(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at error level.Maps to
Level.SEVERE
in JUL.
-
warn
void warn(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at warning level.Maps to
Level.WARNING
in JUL.
-
warn
void warn(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at warning level.Maps to
Level.WARNING
in JUL.
-
info
void info(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at info level.Maps to
Level.INFO
in JUL.
-
info
void info(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at info level.Maps to
Level.INFO
in JUL.
-
config
void config(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at config level.Maps to
Level.CONFIG
in JUL.
-
config
void config(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at config level.Maps to
Level.CONFIG
in JUL.
-
debug
void debug(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at debug level.Maps to
Level.FINE
in JUL.
-
debug
void debug(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at debug level.Maps to
Level.FINE
in JUL.
-
trace
void trace(Supplier<String> messageSupplier)
Log the message from the providedmessageSupplier
at trace level.Maps to
Level.FINER
in JUL.
-
trace
void trace(Throwable throwable, Supplier<String> messageSupplier)
Log the providedThrowable
and message from the providedmessageSupplier
at trace level.Maps to
Level.FINER
in JUL.
-
-