Create a log entry every time a model has been inserted, updated or deleted