[dev] Logging and error checking

Chuck Hagenbuch chuck@horde.org
Tue, 20 Mar 2001 23:03:46 -0500


Quoting Jon Parise <jon@csh.rit.edu>:

> Would it be a good idea to add Log:: calls to our horde/lib/ code?  I
> can go through the Prefs/ hierarchy and add the appropriate logging
> calls, if it's a good idea.

Not directly. I think we should create debug subclasses for the various drivers 
that wrap a specific driver, and only _they_ should log everything.

> On the same note (and probably a better approach), should we start
> using PEAR_Error in our code?

Yes.

> We should probably start checking return values in the individual
> applications, too.

Yes.

=)

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
Every dark cloud has a silver lining, but lightning kills hundreds of people 
each year who are trying to find it.