Logger helper

moved all DEBUG calls to use a Logger Helper function just like it happens on RESTAPI adapter.