updates logger.js

fixes the docstring for the Logger.prototype.addRewriter method.