It's a type of Planche
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. import logging
  4. all_except_root_loggers = [
  5. logging.getLogger(name) for name in logging.root.manager.loggerDict
  6. ]
  7. all_loggers = [logging.getLogger(), *all_except_root_loggers]