Feature/iotcore 104 operation logs

Add logger module and middlewares to setup loging.

Add debug and error logs.