'Optionally specify a formatter which will be used to format each
individual record.'

def __init__(self, linefmt=None):

    if linefmt:
        self.linefmt = linefmt
    else:
        self.linefmt = _defaultFormatter
