* Switch to logging in `__init__.py`, set load message to debug
- Replace print statements with logger.error() and logger.warning() calls.
- Follow best practices by using a module-specific logger via
getLogger(__name__).
- Use parameterized log messages to avoid unnecessary string formatting.
- Change the "RAYLIB STATIC x.x.x LOADED" message from direct stderr
output to logger warning level.
Motivation:
In [commaai/openpilot#35076][openpilot-issue], we experienced noisy test
outputs because the RAYLIB STATIC message is printed unnecessarily,
cluttering stderr. This change allows library consumers to control the
visibility of this message.
[openpilot-issue]: https://github.com/commaai/openpilot/issues/35076
* use warning rather than debug logging
---------
Co-authored-by: Richard Smith <github@electronstudio.co.uk>