'Create a new log, with size lines of storage (default 10).
A log size of 0 (or less) means an infinite log.'

def __init__(self, size=10):

    if (size < 0):
        size = 0
    self.log = ([None] * size)
    self.size = size
