update callback, log interface

- add third callback param, instance reference
- change 'logger' param to 'log'