Interface LoggerFormatter

  • All Known Implementing Classes:
    DefaultLoggerFormatter

    public interface LoggerFormatter
    Interface allowing to customize the output format of the logger (right now only used for console logging).
    • Method Detail

      • format

        String format​(Level logLevel,
                      String message,
                      @Nullable
                      Throwable throwable)
        Formats the inputs into a string that will be printed.
        Parameters:
        logLevel - the log level.
        message - the message.
        throwable - the throwable, which can be null.
        Returns:
        the formatted string that will be printed onto the console.