[DEBUG] Add calls to logger in getInstanceOf/disposeInstanceOf