Unverified Commit a143efc2 authored by Benjamin Morel's avatar Benjamin Morel Committed by Sergei Morozov

Add note about setSQLLogger()

parent ac0c12d5
...@@ -42,9 +42,10 @@ The Drizzle project is abandoned and is therefore not supported by Doctrine DBAL ...@@ -42,9 +42,10 @@ The Drizzle project is abandoned and is therefore not supported by Doctrine DBAL
## BC BREAK: SQLLogger changes ## BC BREAK: SQLLogger changes
- The SQLLogger interface has changed; the methods are the same but use scalar type hints, return types, and non-nullable arrays. - The `SQLLogger` interface has changed; the methods are the same but use scalar type hints, return types, and non-nullable arrays.
- SQLLogger implementations: `DebugStack`, `EchoSQLLogger`, `LoggerChain` are now final. - `SQLLogger` implementations: `DebugStack`, `EchoSQLLogger`, `LoggerChain` are now final.
- `Configuration::getSQLLogger()` does not return `null` anymore, but a `NullLogger` implementation. - `Configuration::getSQLLogger()` does not return `null` anymore, but a `NullLogger` implementation.
- `Configuration::setSQLLogger()` does not allow `null` anymore.
# Upgrade to 2.9 # Upgrade to 2.9
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment