1 /* 2 * Copyright (c) 2022 Nordic Semiconductor 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 /** 8 * @file 9 * @brief Test module for log api test 10 * 11 */ 12 13 #include "test_module.h" 14 #include <zephyr/logging/log.h> 15 16 /* Module disabled by default, will emit logs only when CONFIG_LOG_OVERRIDE_LEVEL. */ 17 LOG_MODULE_REGISTER(test2, 0); 18 test_func2(void)19void test_func2(void) 20 { 21 LOG_DBG(TEST_DBG_MSG); 22 LOG_ERR(TEST_ERR_MSG); 23 } 24