Describe logging config

This commit is contained in:
Oleg Kalachev 2025-07-22 13:09:29 +03:00
parent b4670fbf3f
commit 6c729f0936
2 changed files with 13 additions and 1 deletions

View File

@ -191,6 +191,18 @@ mavlink_msg_debug_vect_pack(SYSTEM_ID, MAV_COMP_ID_AUTOPILOT1, &msg, "some_vecto
sendMessage(&msg);
```
### Logging
You can control Flix library verbosity using Python's `logging` module:
```python
import logging
logger = logging.getLogger('flix')
logger.setLevel(logging.DEBUG) # be more verbose
logger.setLevel(logging.WARNING) # be less verbose
```
## Stability
The library is in development stage. The API is not stable.

View File

@ -1 +1 @@
from .flix import Flix, logger
from .flix import Flix