The accepted answer is not actually responding to the question. I have found the DashLogger utility, but it is still not useful for my application as the process of logging messages from external functions (not inside the callback) is very complicated. Any other suggestions/insights?