August 2018
Intermediate to advanced
404 pages
11h 19m
English
EVM provides logging facilities through events. When events are called, the arguments that are passed along with them will be stored in the transaction log. This also helps listeners in the distributed application to trigger an action based on a transaction. These logs are associated with the address of the respective contract. The contract itself cannot access any log information stored in the transaction.
In this recipe, you will learn about logging and events, and listening to them from the JavaScript console of geth.