setPrinter

Sets up an alternate log printing routine, if you don't want the log to go to stdout.

Parameters

printer

the callback for printing logging output