302fbfe 25a6568 fb3f277 25a6568 a464f90
1
2
3
4
5
6
7
8
9
10
11
import json import sys from datetime import datetime CONFIG_FILE = "service_config.json" def log(message: str): timestamp = datetime.now().strftime("%H:%M:%S.%f")[:-3] print(f"[{timestamp}] {message}") sys.stdout.flush()