def enable(self):
        """Convenience method to enable this logger.

        :raises AttributeError: The disabled property is read-only, typically
                                because it was overridden in a subclass.

        .. versionadded:: 1.0
        """
        try:
            self.disabled = False
        except __HOLE__:
            raise AttributeError('The disabled property is read-only.')
dataset/ETHPy150Open getlogbook/logbook/logbook/base.py/LoggerMixin.enable