test(bklog):Add debug messages in magic functions