Add custom logs

Hello,

I need to add some custom logs in my functions in order to generate a more understandable output. I’ve tried to add logger.info(“whatever”) in different places, but didn’t find a way that works. See the last function in the class.
Logging around in the actual simulations works, but I don’t want to duplicate the logs if I can put them within the basic functions.
Can someone help me?
Thanks!

have you tried https://gatling.io/docs/2.3/general/debugging/ ?