epic-open-source / seismometer

AI model evaluation with a focus on healthcare
https://epic-open-source.github.io/seismometer/
BSD 3-Clause "New" or "Revised" License
156 stars 15 forks source link

Loggers should use a consistent API access pattern #37

Open gbowlin opened 5 days ago

gbowlin commented 5 days ago

Lots of modules have

    import logging

    logger = logging.getLogger("seismometer")

This should be moved to seismometer.core.logger, so that everyone can call

    from siesmometer.core.logger import logger

To get the right logger name, rather than having it copied about.