Logger.setPrinter

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

class Logger
void
setPrinter

Parameters

printer SoupLoggerPrinter

the callback for printing logging output

printerData void*

data to pass to the callback

destroy GDestroyNotify

a #GDestroyNotify to free @printer_data

Meta