def __setstate__(self, d):
if '<STR_LIT>' in d.keys():<EOL><INDENT>d['<STR_LIT>'] = getLogger(d['<STR_LIT>'])<EOL><DEDENT>self.__dict__.update(d)<EOL>
Used for pickle and deepcopy: put back the logger based on its name