How can I send logs to the main screen of OSX Console?
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