mirror of
https://github.com/onyx-and-iris/vban-cmd-python.git
synced 2024-11-15 17:10:46 +00:00
add Logging section to README.
This commit is contained in:
parent
dab519be9f
commit
956f759e73
16
README.md
16
README.md
@ -506,11 +506,25 @@ Returns a `VbanRtPacket`. Designed to be used internally by the interface but av
|
||||
|
||||
States not guaranteed to be current (requires use of dirty parameters to confirm).
|
||||
|
||||
### `Errors`
|
||||
## `Errors`
|
||||
|
||||
- `errors.VBANCMDError`: Exception raised when general errors occur.
|
||||
- `errors.VBANCMDConnectionError`: Exception raised when connection/timeout errors occur.
|
||||
|
||||
## Logging
|
||||
|
||||
It's possible to see the messages sent by the interface's setters and getters, may be useful for debugging.
|
||||
|
||||
example:
|
||||
```python
|
||||
import voicemeeterlib
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
|
||||
with voicemeeterlib.api("banana") as vm:
|
||||
...
|
||||
```
|
||||
|
||||
### `Tests`
|
||||
|
||||
First make sure you installed the [development dependencies](https://github.com/onyx-and-iris/vban-cmd-python#installation)
|
||||
|
Loading…
Reference in New Issue
Block a user