-
-
Notifications
You must be signed in to change notification settings - Fork 26
Improve dbal config #228
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
base: master
Are you sure you want to change the base?
Improve dbal config #228
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Is it possible to avoid BC break?
It's OK, since there are already changes in the changelog that breaks BC. |
$dbal->setLogger($logger); | ||
/** Remove when issue is resolved {@link https://github.com/cycle/orm/issues/60} */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue is opened yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it works, see tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it works, see tests.
Which test checks driver logger?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you provide an example of the configuration before and after in the PR description? It seems that previously you could specify any PSR logger for database queries, but now it's a boolean value that turns the default logger on or off. |
Done. |
The logs configuration behavior looks breaking changed there. |
Before:
definition
params
After:
definition
params
Using any PSR logger: