Download .zip |
Info | Example | View files (4) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2016-04-17 (2 years ago) | Not enough user ratings | Total: 265 | All time: 7,516 This week: 291 |
Version | License | PHP version | Categories | |||
easy-log-class 1.0 | GNU General Publi... | 5 | PHP 5, Logging |
Description | Author | ||||||||
This class can output or write log messages to files |
|
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 name . // create logs folder under the root folder // create a object for log class and pass file name parameter as log filename log.txt and log.txt file create under the logs directory $log= new Log(); // if pass the second parameter as true, then it create log file as datewise like 17-4-2016__log.txt //$log= new Log('log.txt',true); $log->write(__FILE__.' this is the file name where the log class was used '); // write any log message $log->write(' DIR_PATH '.DIR_PATH); // write any log message $log->write(' DIR_LOGS'.DIR_LOGS); // write any log message |
Files |
File | Role | Description |
---|---|---|
log.php | Class | Class source |
read-me.txt | Doc. | Documentation |
README.md | Data | Auxiliary data |
test.php | Example | Example script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.