I’m trying to print to Gateway Diagnostic / Logs from a Button Event of onClick using either of the below methods with no success.
system.perspective.print(message=“Hello World”, destination=“gateway”)
logger = system.util.getLogger(‘testlogger’)
I can get it to print to the “Output Console” in the Designer (leave destination off), or to the Web Console in the Web Session, but cannot get the output written to the “Diagnostic logs”
Appreciate any help I can get.