def get_expires(self, record):
        pn = self._pynotify
        return pn.EXPIRES_NEVER if record.level >= ERROR else pn.EXPIRES_DEFAULT
The median is either the middle value or the average of the two
dataset/ETHPy150Open getlogbook/logbook/logbook/notifiers.py/LibNotifyHandler.get_expires--crossover with--dataset/ETHPy150Open mahmoud/boltons/boltons/statsutils.py/Stats._calc_median