Want to hire a development team?
No Images Added Yet

MyLogPHP

Not Rated Yet.
Add to Favorites
Publisher
A single class to generate log files in PHP
Product Details

This class allow programmers to easily write messages to a log file. QUICK START Include in your script the file "MyLogPHP.class.php". include('MyLogPHP.class.php'); Instantiate the object. Optionally you can pass the log file name and the separator as a parameter. Default log file name is "_MyLogPHP-1.2.log.csv" in current folder, and default separator is comma (,). $log = new MyLogPHP('./log/debug.log.csv'); Make sure the directory where the log will be created is writable. Call method "info", "warning", "error" or "debug" to write the messages. The first parameter is the message, the optional second parameter is a free tag at your choice to help you filter the log when opened by an spreadsheet software, like OpenOffice Calc or Microsoft Excel. $log->info('This message will be logged in the file debug.log.csv','TIP'); That's it!

Report this Listing
Price
Free
Licence Type
Free
Views
668
Submitted on
25th February 2011
Last Updated
4th March 2011
Licence Type
Other
License Price
USD 0
Additional Info
New BSD License

You May Also Like

User Reviews

Please rate the listing and tell the world know what do you think about the listing.
(0 ratings)
Not Rated Yet.
No reviews found.
Not yet reviewed by any member. You can be the first one to write a review for this listing.Click hereto submit your review.