Skip to content

Commit b5b53fa

Browse files
committed
Logging
1 parent d781710 commit b5b53fa

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,6 +1771,9 @@ logger.<level>('A logging message.')
17711771
```
17721772
* **Levels: `'debug'`, `'info'`, `'success'`, `'warning'`, `'error'`, `'critical'`.**
17731773

1774+
### Exceptions
1775+
**Error description, stack trace and values of variables are appended automatically.**
1776+
17741777
```python
17751778
try:
17761779
...

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,6 +1450,8 @@ <h2 id="logging"><a href="#logging" name="logging">#</a>Logging</h2>
14501450
<ul>
14511451
<li><strong>Levels: <code class="python hljs"><span class="hljs-string">'debug'</span></code>, <code class="python hljs"><span class="hljs-string">'info'</span></code>, <code class="python hljs"><span class="hljs-string">'success'</span></code>, <code class="python hljs"><span class="hljs-string">'warning'</span></code>, <code class="python hljs"><span class="hljs-string">'error'</span></code>, <code class="python hljs"><span class="hljs-string">'critical'</span></code>.</strong></li>
14521452
</ul>
1453+
<h3 id="exceptions-1">Exceptions</h3>
1454+
<p><strong>Error description, stack trace and values of variables are appended automatically.</strong></p>
14531455
<pre><code class="python language-python hljs"><span class="hljs-keyword">try</span>:
14541456
...
14551457
<span class="hljs-keyword">except</span> &lt;Exception&gt;:

0 commit comments

Comments
 (0)