zephyr/subsys/logging
Gerard Marull-Paretas 79e6b0e0f6 includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h>
As of today <zephyr/zephyr.h> is 100% equivalent to <zephyr/kernel.h>.
This patch proposes to then include <zephyr/kernel.h> instead of
<zephyr/zephyr.h> since it is more clear that you are including the
Kernel APIs and (probably) nothing else. <zephyr/zephyr.h> sounds like a
catch-all header that may be confusing. Most applications need to
include a bunch of other things to compile, e.g. driver headers or
subsystem headers like BT, logging, etc.

The idea of a catch-all header in Zephyr is probably not feasible
anyway. Reason is that Zephyr is not a library, like it could be for
example `libpython`. Zephyr provides many utilities nowadays: a kernel,
drivers, subsystems, etc and things will likely grow. A catch-all header
would be massive, difficult to keep up-to-date. It is also likely that
an application will only build a small subset. Note that subsystem-level
headers may use a catch-all approach to make things easier, though.

NOTE: This patch is **NOT** removing the header, just removing its usage
in-tree. I'd advocate for its deprecation (add a #warning on it), but I
understand many people will have concerns.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-09-05 16:31:47 +02:00
..
mipi_syst kconfig: logging: Add LOG_MIPI_SYST_ARGS_BUFFER_SIZE option. 2022-08-17 12:07:08 +02:00
CMakeLists.txt logging: cleanup in CMakeLists.txt 2022-09-01 20:54:13 +02:00
Kconfig logging: Allow for compilation without log_output 2022-07-04 16:43:32 +02:00
Kconfig.backends logging: Intel ADSP mtrace logging backend 2022-08-29 10:43:42 +02:00
Kconfig.filtering logging: Add frontend support to v2 2022-03-14 14:08:49 -04:00
Kconfig.formatting kconfig: logging: Add LOG_MIPI_SYST_ARGS_BUFFER_SIZE option. 2022-08-17 12:07:08 +02:00
Kconfig.frontends logging: Remove logging v1 from the logging 2022-06-16 10:51:15 -04:00
Kconfig.misc lib/cbprintf: Disable tagged arguments with picolibc 2022-06-29 10:29:13 +02:00
Kconfig.mode logging: Remove logging v1 from the logging 2022-06-16 10:51:15 -04:00
Kconfig.processing logging: added log process thread priority support 2022-07-21 08:59:38 -04:00
Kconfig.template.log_config
Kconfig.template.log_format_config logging: Remove logging v1 from the logging 2022-06-16 10:51:15 -04:00
log_backend_adsp_hda.c soc: intel_adsp: Refactored IPC/IDC 2022-09-02 08:18:32 -04:00
log_backend_adsp_mtrace.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
log_backend_adsp.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_efi_console.c logging: add a logging backend of EFI console 2022-07-05 16:52:32 -04:00
log_backend_fs.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_native_posix.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_net.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_rtt.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_spinel.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_backend_swo.c log: swo: enable pin control support for swo log backend 2022-06-28 16:02:09 -05:00
log_backend_uart.c logging: initialize devices at compile time 2022-08-19 11:51:26 +02:00
log_backend_xtensa_sim.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_cmds.c logging: Remove logging v1 from the logging 2022-06-16 10:51:15 -04:00
log_core.c logging: Add LOG_RAW macro 2022-09-05 06:26:54 -04:00
log_frontend_dict_uart.c lib: os: cbprintf: Renamed flags used for conversion function 2022-08-26 12:52:08 +02:00
log_mgmt.c logging: add log_source_id_get 2022-07-01 16:30:30 +02:00
log_minimal.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
log_msg.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
log_output_dict.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_output_syst.c logging: Removing v2 suffix from logging names 2022-06-23 15:46:37 -04:00
log_output.c logging: Add LOG_RAW macro 2022-09-05 06:26:54 -04:00