def set_debug_level(level):
    """Set the level of log.

    Set logging level for all loggers create by get_logger function

    Parameters
    ----------
        level: log level define in logging module
    """
    global __KAFKA_DECORATOR_DEBUG__
    __KAFKA_DECORATOR_DEBUG__ = level
