parameters: (self, logger, handlers)
docstring: Add handlers to a logger from a list of names.
docstring_summary: Add handlers to a logger from a list of names.
docstring_tokens: Add handlers to a logger from a list of names .
function: def add_handlers(self, logger, handlers):
          """Add handlers to a logger from a list of names."""
          for h in handlers:
              try:
                  logger.addHandler(self.config['handlers'][h])
              except StandardError, e:
                  raise ValueError('Unable to add handler %r: %s' % (h, e))
function_tokens: def add_handlers ( self , logger , handlers ) : for h in handlers : try : logger . addHandler ( self . config [ 'handlers' ] [ h ] ) except StandardError , e : raise ValueError ( 'Unable to add handler %r: %s' % ( h , e ) )