logging: Minimal mode configuration cleanup

Remove LOG_MINIMAL kconfig option which was confusing
since LOG_MODE_MINIMAL existed. LOG_MINIMAL was used to
force minimal mode but because of invalid dependencies
it was leading to issues.

Refactored code to use LOG_MODE_MINIMAL everywhere and
renamed LOG_MINIMAL to LOG_DEFAULT_MINIMAL which has impact
on defualt logging mode (which still can be later changed
in conf file or in menuconfig).

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2021-11-19 07:59:23 +01:00 committed by Anas Nashif
commit c0808e3f59
13 changed files with 23 additions and 24 deletions

View file

@ -79,7 +79,7 @@ config TEST_LOGGING_DEFAULTS
bool "Enable test case logging defaults"
depends on TEST
select LOG
imply LOG_MINIMAL
select LOG_DEFAULT_MINIMAL
default y
help
Option which implements default policy of enabling logging in