aboutsummaryrefslogtreecommitdiff
path: root/behaviors/DebugBehavior.py
blob: 8f819543a003dc63428746ccecb18f2e95ef0a79 (plain)
1
2
3
4
5
6
7
8
9
10
11
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.error('Sensor Inputs: ' + str(sensorInputs))
        return ([], [])