czbiohub-sf / shrimPy

shrimPy: Smart High-throughput Robust Imaging & Measurement in Python
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Move logger config to mantis/__init__.py and rename to `mantis` #99

Closed ieivanov closed 1 year ago

ieivanov commented 1 year ago

Fixes #61

This PR moves away from using the root logger. The logger is now initialized together with the mantis module with a INFO level console handler. The DEGUB level file handler is adding with the init of the acquisition engine, as before (once we know where the log file should be saved). This PR will also allow for more robust reuse of the longer in analysis modules.