Log

Hi I'have know create a log to all components. 
The code is tested and works greate for me.