How can I write in the log?

Hello team!

I want to write in the LOG of my node some of the checks of my contract.

How can I do this? I have tried with Java's system.out.println but it doesn't show up in the logs.

Is there any way?
Thank you.

Working with:
context.logInfoMessage("text");

Thanks to Tre :beers:

1 Like