Package reactor.util

Interface Logger.ChoiceOfMessageSupplier

Enclosing interface:
Logger
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Logger.ChoiceOfMessageSupplier
A kind of Predicate and Supplier mix, provides two variants of a message String depending on the level of detail desired.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(boolean isVerbose)
    Provide two possible versions of a message String, depending on the level of detail desired.
  • Method Details

    • get

      String get(boolean isVerbose)
      Provide two possible versions of a message String, depending on the level of detail desired.
      Parameters:
      isVerbose - true for higher level of detail, false for lower level of detail
      Returns:
      the message String according to the passed level of detail