I don’t know of a way to print that to the console. There is a command to speak it. Have a look at cop 15 (v. cop 5). The horrid thing about this it can take a long time to read back all the connect nodes on even a reasonably small network. And worse, it will read back on all nodes with telemetry enabled (not just your node).
fyi, cop (and all other) commands are listed in the comments at the top of rpt.c