

def validate_logging_type(self, logging_type):
    if (self.supported_types and (logging_type not in self.supported_types)):
        raise EventLoggerError(("Unsupported logging type '%s'. Choices are: %s" % (logging_type, ', '.join(self.supported_types))))

dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/logging/loggers.py BaseLogger.validate_logging_type/original