首页
开发手册
应用中心
工具
用户中心
FoundPHP log and code debugging
English
中文简体
English
上一篇
下一篇
###FoundPHP Log and code debugging During the development process, we will encounter a lot of errors, such as unable to get the data, unable to find the reason, whether the data is successfully obtained, etc. Foundphp provides perfect debugging and logging. ###Log debugging **Operation log:** Record the access time and address of each page for data analysis. If there is post data, the submitted name will be recorded instead of the submitted value. **Error log:** Each time an error is reported, an error log file will be generated. The error log records the location and specific reason of each code error. **Database log:** Record the statement of each database operation, including error statement, record execution statement, occurrence time and error reason. **Mail log:** Record the sending details of each message sent by e-mail, including handshake information, time and error information. `All the above error messages can be closed through the background. When closed, the system performance will be greatly improved. It is recommended that the development version be opened and the official version be closed.` --- ###Graphical debugging: Under the development mode, the debugging platform will be provided at the bottom of the system, which are the view template debugging platform and the database debugging platform. **View template debugging platform:** The novice can also find the view template file of each function, or load the file to optimize the system through PHP. The debugging platform provides PHP version, cache cleaning, execution time, cache directory, view directory, running mode, etc. ![](data/files/edit/21/02/21/210221_14583522.png) **Database debugging platform:** Display the database statement of the current page to facilitate the optimization of the database. ![](data/files/edit/21/02/21/210221_14585081.png)