1# Copyright (c) 2022 Intel Corporation. 2# SPDX-License-Identifier: Apache-2.0 3 4choice "LOG_BACKEND_$(backend)_OUTPUT" 5 prompt "Backend Output Mode" 6 default LOG_BACKEND_$(backend)_OUTPUT_TEXT 7 8config LOG_BACKEND_$(backend)_OUTPUT_TEXT 9 bool "Text" 10 help 11 Output in text. 12 13config LOG_BACKEND_$(backend)_OUTPUT_SYST 14 bool "MIPI SyS-T" 15 depends on LOG_MIPI_SYST_ENABLE 16 help 17 When enabled backend is used to output syst format logs. 18 19config LOG_BACKEND_$(backend)_OUTPUT_DICTIONARY 20 bool "Dictionary" 21 select LOG_DICTIONARY_SUPPORT 22 help 23 Backend is in dictionary-based logging output mode. 24 25config LOG_BACKEND_$(backend)_OUTPUT_CUSTOM 26 bool "Extern" 27 help 28 Custom formatting function can be set externally. 29 30endchoice 31 32# The numbering of the format types should be consistent across 33# all the backends in the Kconfig and their values must match 34# LOG_OUTPUT_XXX type in C files. 35# Example : LOG_BACKEND_XXX_OUTPUT_TEXT should be numbered 0 across all backends 36# and should match the value of LOG_OUTPUT_TEXT defined in log_output.h 37config LOG_BACKEND_$(backend)_OUTPUT_DEFAULT 38 int 39 default 0 if LOG_BACKEND_$(backend)_OUTPUT_TEXT 40 default 1 if LOG_BACKEND_$(backend)_OUTPUT_SYST 41 default 2 if LOG_BACKEND_$(backend)_OUTPUT_DICTIONARY 42 default 3 if LOG_BACKEND_$(backend)_OUTPUT_CUSTOM 43