code: def logger(ref=0):
      
      if inspect.ismodule(ref):
          return extend(logging.getLogger(ref.__name__))
      if isinstance(ref, basestring):
          return extend(logging.getLogger(ref))
      return extend(logging.getLogger(stackclimber(ref+1)))
docs: Finds a module logger.
  
      If the argument passed is a module, find the logger for that module using
      the modules' name; if it's a string, finds a logger of that name; if an
      integer, walks the stack to the module at that height.
  
      The logger is always extended with a ``.configure()`` method allowing
      its log levels for syslog and stderr to be adjusted or automatically
      initialized as per the documentation for `configure()` below.