diff options
| author | tassaron | 2017-08-10 16:04:41 -0400 |
|---|---|---|
| committer | tassaron | 2017-08-10 16:04:41 -0400 |
| commit | 1c4afc96d69789f16284c067ffd7098dc7b2ca70 (patch) | |
| tree | f04e4117c133a539a87ffcae00d0cd66fa1517f4 /src/main.py | |
| parent | 8baa24e87847a0c7c530cbb55196103ce9cc511c (diff) | |
using the builtin logging module
Diffstat (limited to 'src/main.py')
| -rw-r--r-- | src/main.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.py b/src/main.py index 421a09f..3a6fbe7 100644 --- a/src/main.py +++ b/src/main.py @@ -1,10 +1,14 @@ from PyQt5 import uic, QtWidgets import sys import os +import logging from __init__ import wd +log = logging.getLogger('AVP.Entrypoint') + + def main(): app = QtWidgets.QApplication(sys.argv) app.setApplicationName("audio-visualizer") @@ -28,6 +32,7 @@ def main(): from command import Command main = Command() + log.debug("Finished creating command object") elif mode == 'GUI': from mainwindow import MainWindow @@ -48,6 +53,7 @@ def main(): # window.verticalLayout_2.setContentsMargins(0, topMargin, 0, 0) main = MainWindow(window, proj) + log.debug("Finished creating main window") window.raise_() signal.signal(signal.SIGINT, main.cleanUp) |
