开发者

Does PHP have automatic built-in diagnostic page logging like that built into Ruby on Rails? (as opposed to log4j-type logging libraries)

That s开发者_开发技巧hows:

  1. page execution time duration
  2. query string and form parameters
  3. SQL activity

For a behind the scenes look at page execution?


You cannot compare RoR with php (framework vs language?). You can compare Ruby with php. And you can compare RoR with Symfony. And yes, symfony provides you with a debug toolbar with the 3 things you mentioned and more... So does Magento


Page execution time can come from Apache's access_log (as will GET request parameters), but there's no automatic logging for POST data or SQL queries.


I am not sure about built-in solution but here is nice profiler:

  • Quick PHP Profiler

Does PHP have automatic built-in diagnostic page logging like that built into Ruby on Rails? (as opposed to log4j-type logging libraries)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜