Logging¶
Auto-generated documentation for musicalgestures._logging module.
Logging configuration for MGT-python.
- Mgt-python / Modules / Musicalgestures / Logging
The library exposes a single logger named 'musicalgestures'. Users can
adjust verbosity at the application level
By default the logger has no handlers (quiet) so it does not interfere with
the host application's logging setup. A convenience :func:set_log_level
helper is provided for interactive / script use.
set_log_level¶
Set the verbosity of the musicalgestures logger.
Parameters¶
level:
A :mod:logging level constant (e.g. logging.DEBUG) or a
level name string (e.g. 'DEBUG', 'INFO', 'WARNING').
Examples¶
```python
import musicalgestures musicalgestures.set_log_level('DEBUG')