Sets up an alternate log printing routine, if you don't want the log to go to <literal>stdout</literal>.
the callback for printing logging output
data to pass to the callback
a #GDestroyNotify to free @printer_data
See Implementation
Sets up an alternate log printing routine, if you don't want the log to go to <literal>stdout</literal>.