logging: Rename files and test from log_msg2 to log_msg

Renaming log_msg2 files to log_msg.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2022-06-21 11:32:21 +02:00 committed by Carles Cufí
commit 7f1b4f88e3
14 changed files with 12 additions and 12 deletions

View file

@ -6,7 +6,7 @@
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_BACKEND_H_ #ifndef ZEPHYR_INCLUDE_LOGGING_LOG_BACKEND_H_
#define ZEPHYR_INCLUDE_LOGGING_LOG_BACKEND_H_ #define ZEPHYR_INCLUDE_LOGGING_LOG_BACKEND_H_
#include <zephyr/logging/log_msg2.h> #include <zephyr/logging/log_msg.h>
#include <stdarg.h> #include <stdarg.h>
#include <zephyr/sys/__assert.h> #include <zephyr/sys/__assert.h>
#include <zephyr/sys/util.h> #include <zephyr/sys/util.h>

View file

@ -6,7 +6,7 @@
#ifndef ZEPHYR_LOG_BACKEND_STD_H_ #ifndef ZEPHYR_LOG_BACKEND_STD_H_
#define ZEPHYR_LOG_BACKEND_STD_H_ #define ZEPHYR_LOG_BACKEND_STD_H_
#include <zephyr/logging/log_msg2.h> #include <zephyr/logging/log_msg.h>
#include <zephyr/logging/log_output.h> #include <zephyr/logging/log_output.h>
#include <zephyr/kernel.h> #include <zephyr/kernel.h>

View file

@ -6,7 +6,7 @@
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_CORE_H_ #ifndef ZEPHYR_INCLUDE_LOGGING_LOG_CORE_H_
#define ZEPHYR_INCLUDE_LOGGING_LOG_CORE_H_ #define ZEPHYR_INCLUDE_LOGGING_LOG_CORE_H_
#include <zephyr/logging/log_msg2.h> #include <zephyr/logging/log_msg.h>
#include <zephyr/logging/log_instance.h> #include <zephyr/logging/log_instance.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>

View file

@ -8,7 +8,7 @@
#include <zephyr/kernel.h> #include <zephyr/kernel.h>
#include <zephyr/logging/log_backend.h> #include <zephyr/logging/log_backend.h>
#include <zephyr/logging/log_msg2.h> #include <zephyr/logging/log_msg.h>
#include <zephyr/logging/log_internal.h> #include <zephyr/logging/log_internal.h>
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -3,8 +3,8 @@
* *
* SPDX-License-Identifier: Apache-2.0 * SPDX-License-Identifier: Apache-2.0
*/ */
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_MSG2_H_ #ifndef ZEPHYR_INCLUDE_LOGGING_LOG_MSG_H_
#define ZEPHYR_INCLUDE_LOGGING_LOG_MSG2_H_ #define ZEPHYR_INCLUDE_LOGGING_LOG_MSG_H_
#include <zephyr/logging/log_instance.h> #include <zephyr/logging/log_instance.h>
#include <zephyr/sys/mpsc_packet.h> #include <zephyr/sys/mpsc_packet.h>
@ -660,10 +660,10 @@ static inline uint8_t *log_msg2_get_package(struct log_msg2 *msg, size_t *len)
* @} * @}
*/ */
#include <syscalls/log_msg2.h> #include <syscalls/log_msg.h>
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* ZEPHYR_INCLUDE_LOGGING_LOG_MSG2_H_ */ #endif /* ZEPHYR_INCLUDE_LOGGING_LOG_MSG_H_ */

View file

@ -6,7 +6,7 @@
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_H_ #ifndef ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_H_
#define ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_H_ #define ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_H_
#include <zephyr/logging/log_msg2.h> #include <zephyr/logging/log_msg.h>
#include <zephyr/sys/util.h> #include <zephyr/sys/util.h>
#include <stdarg.h> #include <stdarg.h>
#include <zephyr/sys/atomic.h> #include <zephyr/sys/atomic.h>

View file

@ -8,7 +8,7 @@
#define ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_DICT_H_ #define ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_DICT_H_
#include <zephyr/logging/log_output.h> #include <zephyr/logging/log_output.h>
#include <zephyr/logging/log_msg2.h> #include <zephyr/logging/log_msg.h>
#include <stdarg.h> #include <stdarg.h>
#include <zephyr/toolchain.h> #include <zephyr/toolchain.h>
#include <zephyr/sys/util.h> #include <zephyr/sys/util.h>

View file

@ -5,7 +5,7 @@ if(NOT CONFIG_LOG_MODE_MINIMAL)
CONFIG_LOG CONFIG_LOG
log_core.c log_core.c
log_mgmt.c log_mgmt.c
log_msg2.c log_msg.c
log_output.c log_output.c
) )

View file

@ -9,7 +9,7 @@
* @brief Test log message * @brief Test log message
*/ */
#include <zephyr/logging/log_msg2.h> #include <zephyr/logging/log_msg.h>
#include <zephyr/logging/log_internal.h> #include <zephyr/logging/log_internal.h>
#include <zephyr/logging/log_ctrl.h> #include <zephyr/logging/log_ctrl.h>