Coverage Report

Created: 2026-07-16 07:09

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/WasmEdge/include/host/mock/log.h
Line
Count
Source
1
// SPDX-License-Identifier: Apache-2.0
2
// SPDX-FileCopyrightText: Copyright The WasmEdge Authors
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
  using namespace std::literals;
15
0
  spdlog::error("{} plugin not installed. Please install the plugin and "
16
0
                "restart WasmEdge."sv,
17
0
                PluginName);
18
0
}
19
20
} // namespace Host
21
} // namespace WasmEdge