|
||||||
|
|
ErrorlogAs a programmer in any language, you have to deal with the possibility that your code will have to unexpectedly abort and there will be things you need to do to gracefully release resources (read as: keep your computer from crashing because your program crashed.) In addition, there are times when a debugging facility is not readily available and you need to know what your code is doing. This library provides facilities for providing a logging mechanism to record errors and data at certain points of execution and a manager to help clean up a program to properly free system resources. Without a debugger, troubleshooting PHP code is difficult at best. This library tries to help debugging code by allowing call stack dumps to file, allowing the programmer to see what the code is doing without messing up the display. For pojects using Flash Remoting, where outputting errors is a VERY BAD thing, this code provides a frindly back door to see why your code is choking. With PHP, releasing system resources is not as much of a problem as with other languages: when the script terminates, all handles are automatically closed. It is when these handles need to be more than closed that this problem resurfaces in PHP, IE informing a remote resource that you are done using it before severing the connection to it so you may use that resource the next time you connect to it. Directions for use are provided in the directions.txt file. It is licensed for use under the GNU General Public Lecense, which a copy of is included in the download. If you have questions, problems, or want to help develop, please email me at mwilmes@wilminator.com. DownloadVersion 1.0 Released 2005-07-31
| |||||