Returns the in-memory log built up during each transaction. The application may want to write this to their own logs, for example upon transaction failure.