def set_log_level(level):
    global _log_level
    if level is None:
        level = 0
    level = max(level, LOG_LEVELS['NEVER'])
    level = min(level, LOG_LEVELS['DEBUG4'])
    _log_level = level
Returns a deque of frame stack.
dataset/ETHPy150Open paypal/support/support/ll.py/set_log_level--crossover with--dataset/ETHPy150Open what-studio/profiling/profiling/utils.py/frame_stack