Registers a handler.

        :param handler:  A handler object.

def _registerHandler(self, handler):
        """
        Registers a handler.

        :param handler:  A handler object.
        """
        self._logger.addHandler(handler)
        self._handlers.append(handler)