View log on mobile device

I have a strange bug when testing my game on a mobile device. It works as intended in the preview, but shows different results on the device. But instead of asking for the bug, I would rather know how to print information from the device. I’m using a mac for development and an iPad for testing.