Style guide

log

smart-contractsstandardtranslate

Definition

An entry written to a transaction's receipt when a contract emits an event, made up of indexed topics and data. Logs are cheaper than storage and are meant for offchain consumers; contracts cannot read them.