import logging logging.basicConfig( filename=f'./logs/signal-{datetime.now().date()}.log', encoding='utf-8', level=logging.DEBUG, format='%(asctime)s|%(name)s|%(levelname)s|%(message)s' ) logging.info("run")
Last updated 1 year ago