Subscriber - Custom Binding

I want to write Binding with simple event-subscriber to log for now.
For E.g
I wrote item-name in PaperUI in my binding and eclipse console will be writing any item state change.
I studded example binding from Kai but i don’t know how to write event-subscriber.
Any Help ?