Logger is a really simple PHP log class to write to a file. It was created for debugging AJAX requests to PHP files and also as a debugger for WordPress third-party support but can be used for what ever format you wish.
Logger by Neil Sweeney is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Based on a work at github.com.