- 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.
A kind of
Predicate and
Supplier mix, provides two
variants of a message
String depending on the level of detail desired.
-
Method Summary
Provide two possible versions of a message
String, depending on the
level of detail desired.
-
Method Details
-
get
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