Update public source

This commit is contained in:
2026-10-06 21:08:12 +03:00
commit f231cc5b1f
102 changed files with 48249 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
import logging
from pathlib import Path
def setup_logger():
Path(
"logs"
).mkdir(
exist_ok=True
)
logging.basicConfig(
level=logging.INFO,
format=(
"%(asctime)s "
"[%(levelname)s] "
"%(name)s: "
"%(message)s"
),
handlers=[
logging.FileHandler(
"logs/project.log"
),
logging.StreamHandler()
]
)
return logging.getLogger(
"project-wifi"
)