def flush(self):
    self.buffer = self.buffer[-self.capacity:]
Returns `text` escaped for use in a `LIKE` clause.
dataset/ETHPy150Open google/grr/grr/lib/log.py/PreLoggingMemoryHandler.flush--crossover with--dataset/ETHPy150Open edgewall/trac/trac/db/api.py/ConnectionBase.like_escape