1# SPDX-License-Identifier: Apache-2.0 2# Copyright (c) 2022 Intel Corporation 3 4config LOG_BACKEND_MOCK 5 bool "MOCK backend" 6 select LOG_OUTPUT 7 help 8 When enabled MOCK backend is used for logging. It is 9 used to capture the output buffer used for validation of 10 log messages. It will not output any logs. 11 12if LOG_BACKEND_MOCK 13 14backend = MOCK 15backend-str = mock 16source "subsys/logging/Kconfig.template.log_format_config" 17 18endif # LOG_BACKEND_MOCK 19 20config LOG_BACKEND_DEFAULT 21 string "DEFAULT backend" 22 default "log_backend_mock" if LOG_BACKEND_MOCK 23 help 24 Default value for the name of the backend enabled. 25 26# Include Zephyr's Kconfig. 27source "Kconfig.zephyr" 28