AVRO-3621: Check the argument of assert_not_logged() against the last logged message before panicing
AVRO-3621: Check the argument of assert_not_logged() against the last logged message before panicing

Signed-off-by: Martin Tzvetanov Grigorov <467ed6115092226a07ff6116d483984b94cf27b9@apache.org>

apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro,apache/avro