Log events in a very general fashion