zephyr/tests/subsys/logging/log_api/src/test_module2.c
Gerard Marull-Paretas ade7ccb918 tests: migrate includes to <zephyr/...>
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>
2022-05-06 20:02:14 +02:00

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);
}