Added log to all the classes