1 /* 2 * Copyright (c) 2021 Nordic Semiconductor 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef MOCK_LOG_LINK_H__ 8 #define MOCK_LOG_LINK_H__ 9 10 #include <zephyr/logging/log_link.h> 11 12 struct mock_log_link_source { 13 const char *source; 14 uint8_t clevel; 15 uint8_t rlevel; 16 }; 17 struct mock_log_link_domain { 18 uint16_t source_cnt; 19 struct mock_log_link_source *sources; 20 const char *name; 21 }; 22 23 struct mock_log_link { 24 uint8_t domain_cnt; 25 struct mock_log_link_domain **domains; 26 }; 27 28 #endif /* MOCK_LOG_LINK_H__ */ 29