set_printer


Description:

public void set_printer (owned LoggerPrinter printer)

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

Parameters:

this

a Logger

printer

the callback for printing logging output

destroy

a DestroyNotify to free printer_data

printer_data

data to pass to the callback




2022 vala-language.org