Removed unused and mismatched logger statement from inject

When there were errors I it was failing for me every time with "object is not a function." This was because the inject arguments were mismatched. This should fix that.