Logging with a timestamp sounds useful, but I don't think it should be called "y_log_to_report()", and it is rather customer specific, too. Also, forced logging really should be it's own thing.
This will probably be removed in favor of y_set_transaction_implementation(), which is really how this kind of extra transaction logging should be done. Note that y_transaction.c hasn't used the extra logging stuff in some time ..