whereis-client/main.py
2024-12-17 09:33:44 +01:00

17 lines
324 B
Python

import logging
import sys
from src import VERSION
stdout_handler = logging.StreamHandler(stream=sys.stdout)
logging.basicConfig(
format="[%(levelname)s] - %(asctime)s - %(message)s",
level=logging.INFO,
handlers=(stdout_handler,),
)
if __name__ == "__main__":
logging.info(f"WhereIs client v{VERSION}")