Add logger contract.
Rename interface.
Fix doc block.