Skip to content

Loading…

DBAL-123: Add Ability to Unset SQL Logger in Configuration #1178

Closed
doctrinebot opened this Issue · 3 comments

2 participants

@doctrinebot

Jira issue originally created by user mridgway:

Add the ability to remove the SQL logger after it has been set on the configuration.

public function setSQLLogger(SQLLogger $logger)

could be changed to

public function setSQLLogger(SQLLogger $logger = null)

or another function could be added to disable the logger.

@doctrinebot

Comment created by mridgway:

Added pull request for making the parameter default to null: #26

@doctrinebot

Comment created by @beberlei:

Implemented

@doctrinebot

Issue was closed with resolution "Fixed"

@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.1 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.