1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
6 * @brief A header file for a plugin logging mechanism
11 namespace InferenceEngine {
13 * @brief This class represents a custom error listener.
14 * Plugin consumers can provide it via InferenceEngine::SetLogCallback
16 class IErrorListener {
19 * @brief The plugin calls this method with a null terminated error message (in case of error)
20 * @param msg Error message
22 virtual void onError(const char *msg) noexcept = 0;
24 } // namespace InferenceEngine