zephyr/subsys/logging/Kconfig
Krzysztof Chruscinski c0808e3f59 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>
2021-11-20 11:58:40 -05:00

30 lines
499 B
Plaintext

# Copyright (c) 2016 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
menuconfig LOG
bool "Logging"
select PRINTK if USERSPACE
help
Global switch for the logger, when turned off log calls will not be
compiled in.
if LOG
rsource "Kconfig.mode"
rsource "Kconfig.filtering"
if !LOG_FRONTEND && !LOG_MODE_MINIMAL
rsource "Kconfig.formatting"
rsource "Kconfig.processing"
rsource "Kconfig.backends"
endif # !LOG_FRONTEND && !LOG_MODE_MINIMAL
rsource "Kconfig.misc"
endif # LOG