title: TypeError: _log() got an unexpected keyword argument 'stacklevel'
body: <p>Using stacklevel with log.error produces this error.
  Ex:</p>
  
  <pre><code>logger = logging.getLogger('tcpserver')
  logger.error("Connection problem", stack_info=sys.exc_info(), stacklevel=1)
  </code></pre>
  
  <p>While according to documentation: <strong>There are four keyword arguments in kwargs which are inspected: exc_info, stack_info, stacklevel and extra.</strong></p>
  
  <p>See <a href="https://docs.python.org/3/library/logging.html#logging.Logger.debug" rel="nofollow noreferrer">https://docs.python.org/3/library/logging.html#logging.Logger.debug</a></p>