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 Summary

    Modifier and Type
    Method
    Description
    format(Level logLevel, String message, Throwable throwable)
    Formats the inputs into a string that will be printed.
  • Method Details

    • 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.