title: What's the difference between logging and logger export log?
body: <p>In Python, the logging module have two way to export the log:</p>
  
  <pre><code>import logging
  
  logging.warning("hello")
  
  logger = logging.getLogger(__name__)  # second way os logger.
  logger.warning("hello")
  </code></pre>
  
  <p>What's the difference between them?</p>