Uses of Interface
com.guinetik.corefun.Loggable.Logger
Packages that use Loggable.Logger
-
Uses of Loggable.Logger in com.guinetik.corefun
Methods in com.guinetik.corefun that return Loggable.LoggerModifier and TypeMethodDescriptionLoggable.logger()Returns the logger for this instance.static Loggable.LoggerLoggable.Logger.noop()Creates a no-op Logger that discards all messages.static Loggable.LoggerCreates a Logger from individual log functions.static Loggable.LoggerLoggable.Logger.of(Consumer<String> info, Consumer<String> warn, Consumer<String> error, BiConsumer<String, Throwable> errorWithThrowable) Creates a Logger with error-with-throwable support.static Loggable.LoggerLoggable.Logger.println()Creates a Logger that prints to stdout/stderr.static Loggable.LoggerLoggable.Logger.tagged(String tag, Loggable.Logger delegate) Creates a Logger that prefixes all messages with a tag.Methods in com.guinetik.corefun with parameters of type Loggable.LoggerModifier and TypeMethodDescriptionstatic LoggableLoggable.of(Loggable.Logger logger) Creates a Loggable that uses the given Logger.static Loggable.LoggerLoggable.Logger.tagged(String tag, Loggable.Logger delegate) Creates a Logger that prefixes all messages with a tag.static SafeExecutorSafeExecutor.withLogger(Loggable.Logger logger) Creates a SafeExecutor with the given logger.