Files
wifi-gps-mapper-public/src/logging_config.py
T
2026-10-11 08:02:54 +03:00

17 lines
258 B
Python

import logging
import time
LOG_FORMAT = (
"%(asctime)s.%(msecs)03dZ "
"[%(levelname)s] "
"%(name)s: "
"%(message)s"
)
LOG_DATE_FORMAT = "%Y-%m-%dT%H:%M:%S"
class UTCFormatter(logging.Formatter):
converter = staticmethod(time.gmtime)