Added support for logging any object + demo
Fixed #1