Inyection logger

removed decorator and implemented parametric logger.