Sets a new function to be used for print()
output.
The print handler is called by the print(...)
function, with all arguments passed along.
See also Debugging and Profiling functions.
Signature:
setprinthandler(printHandler)
Arguments:
printHandler
- The function to use as the print handler (function
)
This function is defined by the default user interface in Lua. You can find the definition by examining the FrameXML code for the default UI,