/src/WasmEdge/include/host/mock/log.h
Line | Count | Source (jump to first uncovered line) |
1 | | // SPDX-License-Identifier: Apache-2.0 |
2 | | // SPDX-FileCopyrightText: 2019-2024 Second State INC |
3 | | |
4 | | #pragma once |
5 | | |
6 | | #include <string_view> |
7 | | |
8 | | #include "common/spdlog.h" |
9 | | |
10 | | namespace WasmEdge { |
11 | | namespace Host { |
12 | | |
13 | 0 | inline void printPluginMock(std::string_view PluginName) { |
14 | 0 | spdlog::error("{} plugin not installed. Please install the plugin and " |
15 | 0 | "restart WasmEdge.", |
16 | 0 | PluginName); |
17 | 0 | } |
18 | | |
19 | | } // namespace Host |
20 | | } // namespace WasmEdge |