def _create_module_log(): import logger logger.log2file(module_name + ".log", logging.INFO) logger.log2stdout(module_name, logfmt=logger.DEFAULT_LOGFMT)
def _create_module_log(): import logger logger.log2file(module_name + ".log", logging.DEBUG) logger.log2stdout(module_name)