add logger to all classes