|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not yet rated by the users||Total: 17 ||All time: 10,604 This week: 175|
This class can write log messages to files in CSV or JSON formats.
It can take a variable value and it converts it to a string encoding it in the CSV or JSON formats or using PHP print_r function before it appends the converted string to a file.
The log file is written to a specific file in a given directory. The file name has perfix and the current date as suffix.
Set file name
Log arrays, objects, integers or strings in either .log, .json and .csv file formats by setting the extension in the second argument
$log->logData((object) $_SERVER, 'json');
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.