1 /* 2 * Copyright (c) 2018 Nordic Semiconductor 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file 9 * @brief Test module for log core test 10 * 11 */ 12 13 #include "test_module.h" 14 #include <zephyr/logging/log.h> 15 16 LOG_MODULE_DECLARE(test, CONFIG_SAMPLE_MODULE_LOG_LEVEL); 17 test_func(void)18void test_func(void) 19 { 20 LOG_DBG(TEST_DBG_MSG); 21 LOG_ERR(TEST_ERR_MSG); 22 } 23