Browse Source

Dict

pull/45/head
Jure Šorn 5 years ago
parent
commit
0cf86939e3
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -1777,7 +1777,7 @@ logger.<level>('A logging message.')
```python
try:
...
except <Exception>:
except <exception>:
logger.exception('An error happened.')
```

2
index.html

@ -1499,7 +1499,7 @@ logger.&lt;level&gt;(<span class="hljs-string">'A logging message.'</span>)
<p><strong>Error description, stack trace and values of variables are appended automatically.</strong></p>
<pre><code class="python language-python hljs"><span class="hljs-keyword">try</span>:
...
<span class="hljs-keyword">except</span> &lt;Exception&gt;:
<span class="hljs-keyword">except</span> &lt;exception&gt;:
logger.exception(<span class="hljs-string">'An error happened.'</span>)
</code></pre>
<h3 id="rotation">Rotation</h3>

Loading…
Cancel
Save