Logs I/O error It is important to not call any platform API functions after the error occurred and before calling this functions as the system error code may get reset and will not be properly logged in this message.