':param prefix - The prefix for each line logged by this object.'

def __init__(self, prefix='', level=logging.DEBUG, logger=logging.getLogger()):

    self._prefix = prefix
    self._level = level
    self._buffer = []
    self._logger = logger
