named-data / python-ndn

An NDN client library with AsyncIO support in Python 3
https://python-ndn.readthedocs.io/en/latest
Apache License 2.0
24 stars 17 forks source link

Please stop using the root logger #78

Closed tlc closed 6 months ago

tlc commented 6 months ago
logger = logging.getLogger(__name__)

logger.info(...)

is better form than

logging.info(...)

It allows applications to control how much of a library's logs they want to see.