Creating a log and print function that is not working?

If it is a Vision client then the logger will show up in the client diagnostics. If Perspective then it’ll show up at the gateway.

If you want 100% for something to show up in the gateway logs you will need to create a messagehandler and log it from there.