Aggiunto logging
This commit is contained in:
+2
-1
@@ -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
|
||||
Reference in New Issue
Block a user