@staticmethod
  def _convert_log_level(level):
    return {'warn': '0', 'info': '1', 'debug': '2'}.get(level, '1')
Configure the twisted mainloop to be run inside the glib mainloop.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/pantsd/subsystem/watchman_launcher.py/WatchmanLauncher._convert_log_level--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/internet/glib2reactor.py/install