logging format

This commit is contained in:
Mathieu Broillet 2023-06-11 21:05:32 +02:00
parent b908641898
commit 798693742e
Signed by: mathieu
GPG Key ID: A08E484FE95074C1

2
run.py
View File

@ -3,5 +3,5 @@ import logging
from src import main from src import main
if __name__ == '__main__': if __name__ == '__main__':
logging.getLogger().setLevel(logging.INFO) logging.basicConfig(format='[%(levelname)s] : %(message)s', level=logging.DEBUG)
main.run() main.run()