Aggiunto logging

This commit is contained in:
2019-09-27 15:57:44 +02:00
parent 666405bfa2
commit 5399fc4fde
+2 -1
View File
@@ -16,7 +16,7 @@ def main():
pass
if __name__ == '__main__':
# Setup Logger
# Setup Logger
LOGGER = logging.getLogger(__name__)
LOGGER.setLevel(logging.DEBUG)
LOGGER.propagate = False
@@ -34,5 +34,6 @@ if __name__ == '__main__':
LOGGER.addHandler(cl)
LOGGER.warning("MarcaturaDime Started!")
sys.exit(main())
pass