The goal of this change is to allow the user to change log levels to info, warning, error or debug when logging requests and responses.
When using langchain4j in a Spring Boot application, the user must set the debug level of the application to debug because the original code uses the log.debug() method. This change helps to simplify the logging process so the user doesn't have to change its application.
The goal of this change is to allow the user to change log levels to info, warning, error or debug when logging requests and responses. When using langchain4j in a Spring Boot application, the user must set the debug level of the application to debug because the original code uses the
log.debug()
method. This change helps to simplify the logging process so the user doesn't have to change its application.Example: