From 64afcd3459a2112ef13f5740dcdd7e7a3f7b1163 Mon Sep 17 00:00:00 2001 From: willi pink Date: Fri, 7 Oct 2022 13:11:25 +0200 Subject: [PATCH] add logging instructions --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index f4a850e..49f7e5b 100644 --- a/README.md +++ b/README.md @@ -96,3 +96,10 @@ python manage.py test ```bash source pyenv/bin/activate ``` + +# logging +```python +import logging +logger = logging.getLogger(__name__) +logger.error('foo') +```