meeg_utils.log_to_file#
- meeg_utils.log_to_file(log_file, level='DEBUG')[source]#
Write meeg-utils log messages to a file for the duration of a
withblock.Afterwards the file handler is removed and, unless
setup_logging()is active, meeg-utils is silenced again.