"""iamai log.iamai uses `loguru <https://github.com/Delgan/loguru>`_ to record log information.To customize the logger, please refer to the `loguru <https://github.com/Delgan/loguru>`_ document."""importosimportsysfromdatetimeimportdatetimefromloguruimportloggeras_loggerlogger=_loggercurrent_path=os.path.dirname(os.path.abspath("__file__"))log_path=os.path.join(current_path,"logs",datetime.now().strftime("%Y-%m-%d")+".log")