How can I do a System.out.println() in XML? (application_context)

Viewed 23

I am trying to do a typical System.out.println() in a Springboot application, but not in a java class, but in an application_context.xml, that is, a tag that fulfills said function to see at what point of the code it is.

It doesn't have to be anything complicated, something like <tag>Line 412</tag>, and it shows me that hardcoded message "Line 412" in the console (when I just go through that code).

The problem is that I don't know how to do it or if it is possible without anything external (no extra libraries or loggers)

It's possible? Does anyone know a simple way?

Thank you!

0 Answers
Related