logging: Add frontend support to v2

Extended logging v2 to support frontend api. Contrary to v1,
it is possible to have frontend and backends in the system.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2022-01-25 09:10:15 +01:00 committed by Anas Nashif
commit 7c72b78660
12 changed files with 95 additions and 24 deletions

View file

@ -14,7 +14,7 @@ config LOG_DOMAIN_ID
config LOG_CMDS
bool "Shell commands"
depends on SHELL
depends on !LOG_FRONTEND && !LOG_MODE_MINIMAL
depends on !LOG_FRONTEND_ONLY && !LOG_MODE_MINIMAL
default y if SHELL
config LOG_TEST_CLEAR_MESSAGE_SPACE