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