Package net.dv8tion.jda.internal.utils
Interface JDALogger.LazyEvaluation
- Enclosing class:
JDALogger
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Functional interface used for
JDALogger.getLazyString(LazyEvaluation)
to lazily construct a String.-
Method Summary
Modifier and TypeMethodDescriptionThis method is used byJDALogger.getLazyString(LazyEvaluation)
when SLF4J requests String construction.
-
Method Details
-
getString
This method is used byJDALogger.getLazyString(LazyEvaluation)
when SLF4J requests String construction.
The String returned by this is used to construct the log message.- Returns:
- The String for log message
- Throws:
Exception
- To allow lazy evaluation of methods that might throw exceptions
-