From b0d5cc65e57b6679260beb828fd5a6c17844ea38 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 17 Mar 2024 16:01:16 +0100 Subject: logging - add example to module definition --- How-to/Python/Logging.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/How-to/Python/Logging.md b/How-to/Python/Logging.md index 4d05607..67e9a77 100644 --- a/How-to/Python/Logging.md +++ b/How-to/Python/Logging.md @@ -17,7 +17,8 @@ Logging is useful, because all python code can use the same standard, allowing y - A log server - Maybe a notification should be triggered on CRITICAL errors -> A python [*"module"*](https://docs.python.org/3/tutorial/modules.html) is simply just the name for a .py file +> A python [*"module"*](https://docs.python.org/3/tutorial/modules.html) is simply just the name for a .py file. +> e.g. the file `database_handler.py` is a module called `database_handler` ```py import logging -- cgit 1.4.1