| 761 | } |
| 762 | |
| 763 | void ReportError(const std::string& errorMessage, |
| 764 | Optional<std::vector<std::string>&> errorMessages) |
| 765 | { |
| 766 | std::stringstream fullErrorMessage; |
| 767 | fullErrorMessage << "ERROR: " << errorMessage; |
| 768 | ARMNN_LOG(warning) << fullErrorMessage.str(); |
| 769 | if (errorMessages) |
| 770 | { |
| 771 | errorMessages.value().push_back(fullErrorMessage.str()); |
| 772 | } |
| 773 | } |
| 774 | |
| 775 | void ReportWarning(const std::string& warningMessage, |
| 776 | Optional<std::vector<std::string>&> warningMessages) |
no test coverage detected