I am developing using Java Springboot.
Right now I have a log statement to log the object using Slf4j
log.info("Retrieved buildings: {}", buildings.getData());
However the log is not readable, because It’s a one liner for the object.
enter image description here
The only thing I can do now is to copy the object and paste it in chatgpt or something to read it.
I am wondering how to make it more readable in the Intellij Console.
New contributor
Andy Chow is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.