Interface LoggerFormatter

All Known Implementing Classes:
DefaultLoggerFormatter

@Deprecated public interface LoggerFormatter
Deprecated.
SLF4J is used for all logging. Configuring the Couchbase SDK to use a customer logger formatter has no effect.
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)
    Deprecated.
    Formats the inputs into a string that will be printed.
  • Method Details

    • format

      String format(Level logLevel, String message, @Nullable Throwable throwable)
      Deprecated.
      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.