I suggest change the signature to @log: (event_type, callback, element = null)