I am trying to redirect all Metavision error messages from console, to spdlog logger, which is set up to log both in console and file.
[HAL][ERROR] ErrTransfert
[HAL][ERROR] LIBUSB_TRANSFER_STALL
[HAL][ERROR] ErrTransfert
[HAL][ERROR] LIBUSB_TRANSFER_NO_DEVICE
[HAL][ERROR] LIBUSB_TRANSFER_NO_DEVICE
[HAL][ERROR] ErrTransfert
[HAL][ERROR] LIBUSB_TRANSFER_NO_DEVICE
[HAL][ERROR] LIBUSB_TRANSFER_NO_DEVICE
[HAL][ERROR] ErrTransfert
[HAL][ERROR] LIBUSB_TRANSFER_NO_DEVICE
[HAL][ERROR] LIBUSB_TRANSFER_NO_DEVICE
[HAL][ERROR] ErrTransfert
[HAL][ERROR] LIBUSB_TRANSFER_STALL
[HAL][ERROR] USB Submit Error
[HAL][ERROR] Resubmit Error after Error
[HAL][ERROR] LIBUSB_ERROR_IO
[HAL][ERROR] ErrTransfert
[HAL][ERROR] LIBUSB_TRANSFER_STALL
How redirect also these messages, and all other possible errors and warning from the Metavision Library?