17 lines
324 B
Python
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}")
|
|
|