How to read the logs of my application

I have Loki and Grafana installed on my cluster, I receive the logs thanks to promtail, I can see the logs of my pods, but I would like to be able to read the logs of my application.

What should I do so that Loki can read them? I read there that the application logs should be sent to the stdout console and that way they can be read just like if you did “kubectl logs ”… Any guidance?