title: warnings.warn() vs. logging.warning()
body: <p>What is the difference between <a href="https://docs.python.org/library/warnings.html#warnings.warn" rel="noreferrer"><code>warnings.warn()</code></a> and <a href="https://docs.python.org/library/logging.html#logging.Logger.warning" rel="noreferrer"><code>logging.warn()</code></a> in terms of what they do and how they should be used?</p>