diff options
Diffstat (limited to 'behaviors/DebugBehavior.py')
-rw-r--r-- | behaviors/DebugBehavior.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/behaviors/DebugBehavior.py b/behaviors/DebugBehavior.py index 34f4106..8f81954 100644 --- a/behaviors/DebugBehavior.py +++ b/behaviors/DebugBehavior.py @@ -2,7 +2,10 @@ from operationscore.Behavior import * from logger import main_log import pdb class DebugBehavior(Behavior): + """DebugBehavior simply writes all of its inputs to the logs, currently at the ERROR level for + easy visibility. Will be changed to DEBUG or INFO in the future""" + def processResponse(self, sensorInputs, recursiveInputs): if sensorInputs != []: - main_log.debug('Sensor Inputs: ' + str(sensorInputs)) + main_log.error('Sensor Inputs: ' + str(sensorInputs)) return ([], []) |