'Enter a record of event in the logbook as a list of key-value pairs.
The informations are appended chronogically to a list as a dictionnary.
When the value part of a pair is a dictionnary, the informations contained
in the dictionnary are recorded in a chapter entitled as the name of the
key part of the pair. Chapters are also Logbook.'

def record(self, **infos):

    for (key, value) in infos.items():
        if isinstance(value, dict):
            self.chapters[key].record(**value)
            del infos[key]
    self.append(infos)
