You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Chrome Version = 26.0
When I reloads the page, I am able to view the log but it gets cleared as soon as page renders.
When I am doing this:
echo "<script>console.log('Hello from console.')</script>";
It is being shown there. I have called ChromePhp::log after that, it is not getting logged at the same time.
The text was updated successfully, but these errors were encountered:
@ccampbell doesn't the logger PHP class catches if headers are already send or not? And isn't there something with the browser extension (e.g. extracting specifically created tags within the HTTP response body instead of parsing headers only) that works for both cases?
@hrishabhg If it's what @ccampbell suggested it is, you can enable PHP output buffering to prevent PHP from sending the headers and beginning of body a little longer. That might already help quickly with a simple configuration setting: http://php.net/manual/en/intro.outcontrol.php
My Chrome Version = 26.0
When I reloads the page, I am able to view the log but it gets cleared as soon as page renders.
When I am doing this:
echo "<script>console.log('Hello from console.')</script>";
It is being shown there. I have called ChromePhp::log after that, it is not getting logged at the same time.
The text was updated successfully, but these errors were encountered: