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