Contents
error_handling¶
This module consists of a single method which sets up a logger that will handle errors during automation execution.
-
microscope_automation.util.error_handling.
setup_logger
(prefs, log_level='DEBUG')[source]¶ Initialize logger. Will work over multiple modules
see https://docs.python.org/2/howto/logging-cookbook.html#using-logging-in-multiple-modules