The standard way to output debugging or logging information in a
Unix program is through the system logging daemon syslogd.
Webkit, as you would expect, gives you an easy way to do this too. Whenever
you wish to write to syslog, execute the command
SYSLOG [SEVERITY <nSeverity>]
or call the function
wksyslog (nSeverity, cData)
For more information on how
syslogd
is used and configured on your system, run
man syslogd.