adding a callback for mongoc logs
debug flag not usefull