code: def set_loggers_from_config(config=None):
      
      config = config or app_config.logging
      for lname, lconfig in config.get('loggers', {}).iteritems():
          if 'level' in lconfig:
              level = getattr(logging, lconfig.level)
              assert isinstance(level, int)
              logger = logging.getLogger(lname)
              logger.setLevel(level)
docs: Set loggers configuration according to the `logging` section
      of Docido configuration file.
  
      :param nameddict config:
        overrides Docido configuration