Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added documentation on how to fix browser console logging components. #289

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

jamesvl
Copy link

@jamesvl jamesvl commented Apr 28, 2015

I spent a couple of hours trying to figure out why several different Monolog handlers weren't working with my site using Klein. Finally dove into the source code of each to figure out it was a send_headers() type of issue.

The fix is to use Klein's afterDispatch() method, which is otherwise unmentioned in the
Readme file or the PHPDocs.

I'm not sure of the best place for this in the docs, so chose a section that seemed to fit okay. Feel free to move it around, or leave it out entirely if the method isn't meant for general use.

Uses Klein's afterDispatch() method, which is otherwise unmentioned in the
Readme file or the PHPDocs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants