zephyr/subsys/logging/Kconfig

36 lines
576 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"
rsource "Kconfig.processing"
if !LOG_FRONTEND_ONLY && !LOG_MODE_MINIMAL
rsource "Kconfig.formatting"
rsource "Kconfig.backends"
endif # !LOG_FRONTEND_ONLY && !LOG_MODE_MINIMAL
if LOG_FRONTEND
rsource "Kconfig.frontends"
endif #LOG_FRONTEND
rsource "Kconfig.misc"
endif # LOG