adding log messages into all classes