def set_output_level(cls, level):
        """ Sets the output level, messages with a level below will not be
        printed. E.g. if you set the output level to "error", only error and
        fatal messages will be shown.  """
        assert level in RPObject._OUTPUT_LEVELS
        RPObject._OUTPUT_LEVEL = RPObject._OUTPUT_LEVELS.index(level)
 Sets the output level, messages with a level below will not be
        printed. E.g. if you set the output level to "error", only error and
        fatal messages will be shown.  
metadrive/render_pipeline/rpcore/rpobject.py