def get_priority(self, record):
        if record.level >= ERROR:
            return 2
        elif record.level == WARNING:
            return 1
        return 0
Returns the priority flag for Growl.  Errors and criticals are
dataset/ETHPy150Open getlogbook/logbook/logbook/notifiers.py/GrowlHandler.get_priority