Changeset 50e04dd in python-cinema-club-bot
- Timestamp:
-
Oct 7, 2024, 10:39:28 PM
(5 weeks ago)
- Author:
- Mikhail Kirillov <w96k@…>
- Branches:
- master
- Children:
- 5179f7b
- Parents:
- ca5a97e
- Message:
-
Add logging
-
File:
-
Legend:
- Unmodified
- Added
- Removed
-
rca5a97e
|
r50e04dd
|
|
14 | 14 | from dotenv import load_dotenv |
15 | 15 | import os |
| 16 | import logging |
16 | 17 | |
17 | 18 | load_dotenv() |
| 19 | |
| 20 | logging.basicConfig( |
| 21 | level=logging.INFO, |
| 22 | format='%(asctime)s - %(name)s - %(levelname)s - %(message)s' |
| 23 | ) |
18 | 24 | |
19 | 25 | |