Re: MDB : use of debug

From: Date: Thu, 10 Jun 2004 10:49:02 +0000
Subject: Re: MDB : use of debug
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-13068@lists.php.net to get a copy of this message
Vincent DUPONT wrote:
Hi, I would like some code samples on how to use the debug function in MDB. I guess I must specifiy a (self-made) function that will be called for debug output, but I did not find how to set this up.
Have a look here: http://cvs.php.net/co.php/pear/MDB/examples/example.php http://cvs.php.net/co.php/pear/MDB/MDB/reverse_engineer_xml_schema.php?r=1.17.4.3 There is a default debug handler specified in MDB/Common.php which you can overwrite using MDB_Common::captureDebugOutput($capture); regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.pear.general (#13068) next »