'Log each of the given lines as a separate message.
@param lines: Data to write.
@type lines: iterable of L{unicode} or L{bytes} in this file\'s
declared encoding'

def writelines(self, lines):

    for line in lines:
        self.write(line)
