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>
29 lines
509 B
Text
29 lines
509 B
Text
# 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_ONLY && !LOG_MODE_MINIMAL
|
|
|
|
rsource "Kconfig.formatting"
|
|
|
|
rsource "Kconfig.processing"
|
|
|
|
rsource "Kconfig.backends"
|
|
|
|
endif # !LOG_FRONTEND_ONLY && !LOG_MODE_MINIMAL
|
|
|
|
rsource "Kconfig.misc"
|
|
|
|
endif # LOG
|