code: def on(self, level):
          
          if isinstance(level, int) and level >= 0 and level <= 3:
              self._debug_level = level
docs: Turns on all debugging messages up to the specified level
  
          0 = None; 1 = User;