In order to bring consistency in-tree, migrate all tests to the new prefix <zephyr/...>. Note that the conversion has been scripted, refer to #45388 for more details. Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
24 lines
403 B
C
24 lines
403 B
C
/*
|
|
* Copyright (c) 2022 Nordic Semiconductor
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
* @brief Test module for log api test
|
|
*
|
|
*/
|
|
|
|
#include "test_module.h"
|
|
#include <zephyr/logging/log.h>
|
|
|
|
/* Module disabled by default, will emit logs only when CONFIG_LOG_OVERRIDE_LEVEL. */
|
|
LOG_MODULE_REGISTER(test2, 0);
|
|
|
|
void test_func2(void)
|
|
{
|
|
LOG_DBG(TEST_DBG_MSG);
|
|
LOG_ERR(TEST_ERR_MSG);
|
|
}
|