How to create logs with PHP


in this post i will show how a developer can create own log file in php to debug or store the more information about the script.

This class is create or maintain the log file for your application,
where you will create any log message for your application and store in log.txt file under the log directory,
you also create the date wise log file with custom file name .

create logs folder under the root folder

click here to Download