rdbms: Add a deprecationLogger callback