Upload files to "v1"

This commit is contained in:
2025-12-22 15:15:42 +00:00
parent d5de70103a
commit cd100b6904
44 changed files with 4420 additions and 0 deletions

18
v1/logger.py Normal file
View File

@@ -0,0 +1,18 @@
import logging
log = logging.getLogger(__name__)
class Logger:
def __init__(self):
logging.basicConfig(
format="%(levelname)s:%(asctime)s - %(message)s",
datefmt="%m/%d/%Y %I:%M:%S %p",
)
log.setLevel(logging.INFO)
form = logging.Formatter(
"%(levelname)s:%(asctime)s - %(message)s", datefmt="%m/%d/%Y %I:%M:%S %p"
)
file_handler = logging.FileHandler("angel.log")
file_handler.setFormatter(form)
log.addHandler(file_handler)