1 /* 2 * Copyright (c) 2018 Nordic Semiconductor ASA 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #include <zephyr/kernel.h> 7 #include <zephyr/logging/log.h> 8 #include "sample_module.h" 9 10 LOG_MODULE_REGISTER(MODULE_NAME, CONFIG_SAMPLE_MODULE_LOG_LEVEL); 11 sample_module_name_get(void)12const char *sample_module_name_get(void) 13 { 14 return STRINGIFY(MODULE_NAME); 15 } 16 sample_module_func(void)17void sample_module_func(void) 18 { 19 LOG_INF("log in test_module %d", 11); 20 } 21