logging: Cleanup and rafactoring in the internal logging macros #152903
compliance.yml
on: pull_request
Run compliance checks on patch series (PR)
2m 15s
Annotations
1 error, 1 warning, and 3 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
|
Run compliance checks on patch series (PR):
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
-#define CONFIG_LOG_MAX_LEVEL 0
+#define CONFIG_LOG_MAX_LEVEL 0
File:include/zephyr/logging/log_core.h
Line:32
You may want to run clang-format on this change:
- (__log_current_dynamic_data), (__log_current_const_data)), \
- __VA_ARGS__)
+ (__log_current_dynamic_data), (__log_current_const_data)), \
+ __VA_ARGS__)
File:include/zephyr/logging/log_core.h
Line:321
You may want to run clang-format on this change:
- ("%s", __VA_ARGS__), (__VA_ARGS__))))); \
+ ("%s", __VA_ARGS__), (__VA_ARGS__))))); \
} while (false)
#define Z_LOG_HEXDUMP(_level, _data, _length, ...) \
Z_LOG_HEXDUMP2(_level, \
COND_CODE_1(CONFIG_LOG_RUNTIME_FILTERING, \
- (__log_current_dynamic_data), (__log_current_const_data)), \
- data, _length, __VA_ARGS__)
+ (__log_current_dynamic_data), (__log_current_const_data)), \
+ data, _length, __VA_ARGS__)
File:include/zephyr/logging/log_core.h
Line:376
|
You may want to run clang-format on this change:
include/zephyr/logging/log_core.h#L32
include/zephyr/logging/log_core.h:32
-#define CONFIG_LOG_MAX_LEVEL 0
+#define CONFIG_LOG_MAX_LEVEL 0
|
You may want to run clang-format on this change:
include/zephyr/logging/log_core.h#L321
include/zephyr/logging/log_core.h:321
- (__log_current_dynamic_data), (__log_current_const_data)), \
- __VA_ARGS__)
+ (__log_current_dynamic_data), (__log_current_const_data)), \
+ __VA_ARGS__)
|
You may want to run clang-format on this change:
include/zephyr/logging/log_core.h#L376
include/zephyr/logging/log_core.h:376
- ("%s", __VA_ARGS__), (__VA_ARGS__))))); \
+ ("%s", __VA_ARGS__), (__VA_ARGS__))))); \
} while (false)
#define Z_LOG_HEXDUMP(_level, _data, _length, ...) \
Z_LOG_HEXDUMP2(_level, \
COND_CODE_1(CONFIG_LOG_RUNTIME_FILTERING, \
- (__log_current_dynamic_data), (__log_current_const_data)), \
- data, _length, __VA_ARGS__)
+ (__log_current_dynamic_data), (__log_current_const_data)), \
+ data, _length, __VA_ARGS__)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
compliance.xml
|
863 Bytes |
|