Using annotations for logging