# output_file_path = args.out.strip() # endregion # ---------------------------------- # region Global Config # endregion # ---------------------------------------------------------------- # region Set Logger # setup_logging(logging_level=logging.INFO) # Logger Name logger_name = 'neo_rna.script' logger = logging.getLogger(logger_name) # endregion # ---------------------------------- # region Prep cwd = os.getcwd() if not os.path.isabs(output_file_path): output_file_path = os.path.join(cwd, output_file_path) # endregion
def get_logger(logger_name: str, logging_level=logging.INFO): setup_logging(logging_level=logging_level) # return logging.getLogger(logger_name)