def set_verbosity(self, mid, value):
        """Sets the verbosity.

        Turn logging on/off for logger identified by `mid`.

        Parameters
        ----------
        mid : str
            The module id of the logger to change the verbosity of.
        value : bool
            Whether to turn the verbosity on or off.

        """
        handlers = self._loggers[mid].handlers
        for hdl in handlers:
            hdl.silenced = value