Skip to content

Commit 7f1b4f8

Browse files
nordic-krchcarlescufi
authored andcommitted
logging: Rename files and test from log_msg2 to log_msg
Renaming log_msg2 files to log_msg. Signed-off-by: Krzysztof Chruscinski <[email protected]>
1 parent c107ec4 commit 7f1b4f8

File tree

14 files changed

+12
-12
lines changed

14 files changed

+12
-12
lines changed

include/zephyr/logging/log_backend.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_BACKEND_H_
77
#define ZEPHYR_INCLUDE_LOGGING_LOG_BACKEND_H_
88

9-
#include <zephyr/logging/log_msg2.h>
9+
#include <zephyr/logging/log_msg.h>
1010
#include <stdarg.h>
1111
#include <zephyr/sys/__assert.h>
1212
#include <zephyr/sys/util.h>

include/zephyr/logging/log_backend_std.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#ifndef ZEPHYR_LOG_BACKEND_STD_H_
77
#define ZEPHYR_LOG_BACKEND_STD_H_
88

9-
#include <zephyr/logging/log_msg2.h>
9+
#include <zephyr/logging/log_msg.h>
1010
#include <zephyr/logging/log_output.h>
1111
#include <zephyr/kernel.h>
1212

include/zephyr/logging/log_core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_CORE_H_
77
#define ZEPHYR_INCLUDE_LOGGING_LOG_CORE_H_
88

9-
#include <zephyr/logging/log_msg2.h>
9+
#include <zephyr/logging/log_msg.h>
1010
#include <zephyr/logging/log_instance.h>
1111
#include <stdbool.h>
1212
#include <stdint.h>

include/zephyr/logging/log_ctrl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <zephyr/kernel.h>
1010
#include <zephyr/logging/log_backend.h>
11-
#include <zephyr/logging/log_msg2.h>
11+
#include <zephyr/logging/log_msg.h>
1212
#include <zephyr/logging/log_internal.h>
1313

1414
#ifdef __cplusplus

include/zephyr/logging/log_msg2.h renamed to include/zephyr/logging/log_msg.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
6-
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_MSG2_H_
7-
#define ZEPHYR_INCLUDE_LOGGING_LOG_MSG2_H_
6+
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_MSG_H_
7+
#define ZEPHYR_INCLUDE_LOGGING_LOG_MSG_H_
88

99
#include <zephyr/logging/log_instance.h>
1010
#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)
660660
* @}
661661
*/
662662

663-
#include <syscalls/log_msg2.h>
663+
#include <syscalls/log_msg.h>
664664

665665
#ifdef __cplusplus
666666
}
667667
#endif
668668

669-
#endif /* ZEPHYR_INCLUDE_LOGGING_LOG_MSG2_H_ */
669+
#endif /* ZEPHYR_INCLUDE_LOGGING_LOG_MSG_H_ */

include/zephyr/logging/log_output.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#ifndef ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_H_
77
#define ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_H_
88

9-
#include <zephyr/logging/log_msg2.h>
9+
#include <zephyr/logging/log_msg.h>
1010
#include <zephyr/sys/util.h>
1111
#include <stdarg.h>
1212
#include <zephyr/sys/atomic.h>

include/zephyr/logging/log_output_dict.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#define ZEPHYR_INCLUDE_LOGGING_LOG_OUTPUT_DICT_H_
99

1010
#include <zephyr/logging/log_output.h>
11-
#include <zephyr/logging/log_msg2.h>
11+
#include <zephyr/logging/log_msg.h>
1212
#include <stdarg.h>
1313
#include <zephyr/toolchain.h>
1414
#include <zephyr/sys/util.h>

subsys/logging/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ if(NOT CONFIG_LOG_MODE_MINIMAL)
55
CONFIG_LOG
66
log_core.c
77
log_mgmt.c
8-
log_msg2.c
8+
log_msg.c
99
log_output.c
1010
)
1111

File renamed without changes.

0 commit comments

Comments
 (0)