abdeladim-s / pywhispercpp

Python bindings for whisper.cpp
https://abdeladim-s.github.io/pywhispercpp/
MIT License
180 stars 26 forks source link

use module-level logging #80

Closed benniekiss closed 2 weeks ago

benniekiss commented 3 weeks ago

This PR switches to using module level logging instead of logging directly to the root logger. This makes it cleaner to use this package within other python packages and scripts.

It removes the _logger.py file since it became unused.

The example scripts still log directly to the root logger since they are user-facing, so users should still see console output.

abdeladim-s commented 2 weeks ago

True, module level logging is better. Thanks @benniekiss for the contribution :)