mirror of
https://github.com/tiqi-group/pydase.git
synced 2025-04-19 16:10:01 +02:00
docs: adds logging.basicConfig to logging section
This commit is contained in:
parent
a99db6f053
commit
10f1b8691c
@ -247,6 +247,7 @@ You have two primary ways to adjust the log levels in `pydase`:
|
|||||||
# logging.getLogger("pydase.data_service").setLevel(logging.DEBUG)
|
# logging.getLogger("pydase.data_service").setLevel(logging.DEBUG)
|
||||||
|
|
||||||
# Your logger for the current script
|
# Your logger for the current script
|
||||||
|
logging.basicConfig(level=logging.INFO)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
logger.info("My info message.")
|
logger.info("My info message.")
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user