This is the suggested template for new VIPs.
VIP: 695
Title: Rename dunder log define function to event.
Author: Jacques Wagener
Type: Standard Track
Status: Draft
Created: 2018-03-08
Rename __log__ keyword on definition of a event to event keyword instead.
As a few users have pointed out, the __log__ keyword in defining an event is not as clear as using event({arg1: int128}) style defintions.
MyLog: __log__({arg1: indexed(bytes <= 3)})
Becomes
MyLog: event({arg1: indexed(bytes <= 3)})
The emitting of a log event will remain the same:
log.MyLog("123")
This is not backward compatible (full rename).
Copyright and related rights waived via CC0
Note: the syntax for "emitting"/logging an event is still log.MyLog('arg')
Yes I feel the event / log keyword combination will work well.
(put it in the issue lol)
Hey, I think we can close this issue now.
Most helpful comment
Yes I feel the event / log keyword combination will work well.