2.0 Release
####Breaking changes in the logging API
Instead of Database::getQueryLog()
and Database::flushQueryLog()
a psr logger aware interface has been implemented along with a Database::getLogger()
method. The default logger buffers log items for retrieval in the same way: Database::getLogger()->getQueryLog();
and Database::getLogger()->flushQueryLog();
####An exception handler has been added to allow for customisable exception handling. The default exception handler now throws Database\Exception\QueryException
instead of Database\QueryException
. The default handler will now also include the connection parameters (without password) for context.