Events allow you to access the EVM logging facility, which can be used to keep state change information or to execute callbacks in the DApps. In this recipe, you will learn how to listen for new events raised in the contract and retrieve data stored in the transaction logs.