How can I send logs to the main screen of OSX Console?

Solution 1:

As I'm not actively coding under macOS, I would say with some reservation: This might be worth reading: https://developer.apple.com/documentation/os/logging