nvmet: add error log support in the core