zephyr/tests/subsys/logging/log_api/src/test_module.c
Krzysztof Chruscinski ef856385e7 tests: logging: Add log_api test suite
Add test suite which validates logging behavior in various
configurations.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
2021-05-06 15:40:05 +02:00

22 lines
301 B
C

/*
* Copyright (c) 2018 Nordic Semiconductor
*
* SPDX-License-Identifier: Apache-2.0
*/
/**
* @file
* @brief Test module for log core test
*
*/
#include <logging/log.h>
LOG_MODULE_DECLARE(test, CONFIG_SAMPLE_MODULE_LOG_LEVEL);
void test_func(void)
{
LOG_DBG("debug");
LOG_ERR("test");
}