Added support for SQLite log callback.