init_logging#
- mufasa.utils.mufasa_log.init_logging(logfile='mufasa.log', console_level=20, file_level=10, astropy_console_level=40, astropy_file_level=30)[source]#
- Parameters:
logfile – file to save to (default mufasa.log)
console_level – minimum logging level to print to screen (default INFO)
file_level – minimum logging level to save to file (default INFO)
astropy_console_level – minimum logging level to print astropy/pyspeckit records to screen (default ERROR)
astropy_file_level – at what log severity to save astropy/pyspeckit records (default WARNING)