def METHOD_NAME(self, worklist):
    if set(['after_post']) & self.o.logEvents:
        for msg in worklist.ok:
            logger.info("posted %s" % msg)
        for msg in worklist.failed:
            logger.info("failed to post, queued to retry %s" % msg)