mirror of
https://github.com/okalachev/flix.git
synced 2025-07-29 12:28:59 +00:00
Describe logging config
This commit is contained in:
parent
b4670fbf3f
commit
6c729f0936
@ -191,6 +191,18 @@ mavlink_msg_debug_vect_pack(SYSTEM_ID, MAV_COMP_ID_AUTOPILOT1, &msg, "some_vecto
|
|||||||
sendMessage(&msg);
|
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
|
## Stability
|
||||||
|
|
||||||
The library is in development stage. The API is not stable.
|
The library is in development stage. The API is not stable.
|
||||||
|
@ -1 +1 @@
|
|||||||
from .flix import Flix, logger
|
from .flix import Flix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user