c3-time-domain / SeeChange

A time-domain data reduction pipeline (e.g., for handling images->lightcurves) for surveys like DECam and LS4
BSD 3-Clause "New" or "Revised" License
0 stars 4 forks source link

Replace print() with _logger.debug() (etc.) #215

Closed rknop closed 3 months ago

rknop commented 3 months ago

Find places in the code that use print (or sys.std(err|out).write) to give debugging output, and replace it with _logger.debug() , where _logger is imported from models.base.

(At least in improc/zogy.py.)

Perhaps also move the standard logger from models.base to util.(something), as it makes more sense to have it there than in models. This will require chaging everything that right now imports _logger from models.base