Logger.register: don't require logger as the first argument