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

feat: Add logger integration #89

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

exaby73
Copy link
Collaborator

@exaby73 exaby73 commented Nov 25, 2024

No description provided.

@@ -65,6 +66,10 @@ public function getConfigTreeBuilder(): TreeBuilder
->append($this->decorateDriverConfig())
->append($this->decorateSessionConfig())
->append($this->decorateTransactionConfig())
->scalarNode('log_level')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little bit confused by this. You mean only errors will be logged or everything it logs will be logged as an error? @exaby73

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

@transistive transistive Nov 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, in the code it uses the term shouldLog which is a lot clearer. Maybe we should call it: min_log_level with the description: the minimum severity the driver will log?

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