diff options
author | rcoh <rcoh@mit.edu> | 2010-12-25 11:45:07 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2010-12-25 11:45:07 -0500 |
commit | 87a01a8e45cd332221ec510263b72d31d6b0759d (patch) | |
tree | 921434997f5a1fadfedc92c117d6e291eef24057 /LightInstallation.py | |
parent | 8ef906efd8f1c1c438b487e16ceaa136424dd99d (diff) | |
parent | 3325a01cfe94baed32eb11249eec9a3c81eedc60 (diff) |
Merge branch 'logging'
Conflicts:
LightInstallation.py
Diffstat (limited to 'LightInstallation.py')
-rw-r--r-- | LightInstallation.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/LightInstallation.py b/LightInstallation.py index 6546f7e..5882806 100644 --- a/LightInstallation.py +++ b/LightInstallation.py @@ -6,10 +6,13 @@ from pygame.locals import * import util.TimeOps as clock import util.Config as configGetter import util.ComponentRegistry as compReg +from logger import main_log #Python class to instantiate and drive a Screen through different patterns, #and effects. class LightInstallation: def __init__(self, configFileName): + main_log.critical("hi russell, i'm sending info to the log files") + main_log.critical("initializing based on file: " + str(configFileName)) self.timer = clock.Stopwatch() self.timer.start() self.inputs = {} #dict of inputs and their bound behaviors, keyed by InputId @@ -54,7 +57,7 @@ class LightInstallation: componentToMap = compReg.getComponent(defaults[defaultSelection]) compReg.registerComponent(compReg.getComponent(defaults[defaultSelection]),\ 'Default'+defaultSelection) - + def initializeMapper(self, mapperConfig): self.mappers = self.initializeComponent(mapperConfig) def initializeScreen(self, layoutConfig): |