@classmethod
def set_logging_level(cls, level, prefix=None):
    """
        Set the logging level of a logger associated with this SDK, one
        of it's Traces or one of it's Spans, Helpers or Decorators.

        :param int level: New logging level to set.
        :param prefix: All loggers with this prefix will have their levels set.
        :type prefix: Union[None, None, str]
        """
    for logger_name, logger in cls._context.loggers.items():
        if prefix and logger_name.split('.')[0] != prefix:
            continue
        logger.setLevel(level)
