title: The literal format of format=" %(asctime)s - %(levelname)s - %(message)s")
body: <p>I am learning to utilize <code>logging</code> rather than <code>print</code> to debug my code:</p>
  
  <pre><code>In [89]: logging.basicConfig(level=logging.DEBUG, format=" %(asctime)s - %(levelname)s - %(message)s")
  In [90]: logging.debug("Some debugging details.")
   2018-08-28 16:41:15,371 - DEBUG - Some debugging details.
  </code></pre>
  
  <p>I tried to rewrite the format as literal format, </p>
  
  <pre><code>In [5]: logging.basicConfig(level=logging.DEBUG, format=f" {(asctime)} - {(levelname)} - {(message)}")
  NameError: name 'asctime' is not defined
  </code></pre>
  
  <p>or </p>
  
  <pre><code>In [5]: logging.basicConfig(level=logging.DEBUG, format=f" {(asctime)} - {(levelname)} - {(message)}")
  -------------------------------------------------------------------------
  In [6]: logging.basicConfig(level=logging.DEBUG, format=f" {(asctime)s} - {(levelname)s} - {(message)s}")
    File "&lt;fstring&gt;", line 1
      ((asctime)s)
                ^
  SyntaxError: invalid syntax
  </code></pre>
  
  <p>Is it possible to write a literal format of <code>format=" %(asctime)s - %(levelname)s - %(message)s"</code>?</p>