class_docstr: Configure logging using a dictionary-like object to describe the
  configuration.
class_docstr_tok: ["Configure","logging","using","a","dictionary-like","object","to","describe","the","configuration","."]
docstr: Configure a filter from a dictionary.
code: def configure_filter(self, config):
      """Configure a filter from a dictionary."""
      if "()" in config:
          result = self.configure_custom(config)
      else:
          name = config.get("name", "")
          result = logging.Filter(name)
      return result
  
imports: import cStringIO
  import errno
  import io
  import logging
  import logging.handlers
  import os
  import re
  import socket
  import struct
  import sys
  import traceback
  import types
  from SocketServer import ThreadingTCPServer, StreamRequestHandler
label_desc: Use image node_id 3 for calling the DictConfigurator obj's underlying member method code with example usage: obj.configure_filter(config) and returns: result