created a generic log in core