From b5b53fada3d02e504e6211e28f7b2a365f383806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Sat, 13 Apr 2019 03:00:46 +0200 Subject: [PATCH] Logging --- README.md | 3 +++ index.html | 2 ++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index ea0acfe..68da7fe 100644 --- a/README.md +++ b/README.md @@ -1771,6 +1771,9 @@ logger.('A logging message.') ``` * **Levels: `'debug'`, `'info'`, `'success'`, `'warning'`, `'error'`, `'critical'`.** +### Exceptions +**Error description, stack trace and values of variables are appended automatically.** + ```python try: ... diff --git a/index.html b/index.html index 5100473..ed3489a 100644 --- a/index.html +++ b/index.html @@ -1450,6 +1450,8 @@ logger.<level>('A logging message.') +

Exceptions

+

Error description, stack trace and values of variables are appended automatically.

try:
     ...
 except <Exception>: