Re: [xml] Log function



On Mon, Aug 26, 2002 at 06:46:21PM +0200, Amn3S1A wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

      Hello, i'm new on the list, and i would like to know how to set up
my own function to do log. (sorry by my poor english :) I saw a lot of 
fprintf (stderr,.....), on linux, the fix was easy, stderr=LogFile; but i dont 
know how to do this on windows (using libxml)
Is there any way to do this without modify the source code?

  I hope you use libxml2 and not libxml !
Use the xmlSetGenericErrorFunc() to set up your own error handler,

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]