'Return a dictionary representation of the Log instance.
Note:
This function won\'t work with anonymous events.
Args:
log (processblock.Log): The Log instance that needs to be parsed.
noprint (bool): Flag to turn off priting of the decoded log instance.'

def listen(self, log, noprint=True):

    try:
        result = self.decode_event(log.topics, log.data)
    except ValueError:
        return
    if (not noprint):
        print(result)
    return result
