Similar to ui.showNotification except the message is also printed to the output console.
Using this function is the same as calling ui.showNofitication and then print with the same string.
For example:
ui.printNotification("Foo")
is the same as
ui.showNotification("Foo")
print("Foo")