mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-15 01:23:49 +01:00
sys/log/kconfig: change entry-point
This commit is contained in:
parent
a685e037c7
commit
a8201c03c0
@ -5,28 +5,32 @@
|
|||||||
# directory for more details.
|
# directory for more details.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
choice
|
||||||
menuconfig MODULE_LOG
|
|
||||||
bool "Logging system override"
|
bool "Logging system override"
|
||||||
|
optional
|
||||||
depends on TEST_KCONFIG
|
depends on TEST_KCONFIG
|
||||||
help
|
help
|
||||||
Say y to override the default logging functions. For more information see
|
Say y to override the default logging functions. For more information see
|
||||||
core/include/log.h.
|
core/include/log.h.
|
||||||
|
|
||||||
choice LOG_BACKEND
|
|
||||||
bool "Implementation"
|
|
||||||
depends on MODULE_LOG
|
|
||||||
|
|
||||||
config MODULE_LOG_COLOR
|
config MODULE_LOG_COLOR
|
||||||
bool "Colored output"
|
bool "Colored output"
|
||||||
|
select MODULE_LOG
|
||||||
help
|
help
|
||||||
Implements a logging module with colored output.
|
Implements a logging module with colored output.
|
||||||
|
|
||||||
config MODULE_LOG_PRINTFNOFORMAT
|
config MODULE_LOG_PRINTFNOFORMAT
|
||||||
bool "puts-based log"
|
bool "puts-based log"
|
||||||
|
select MODULE_LOG
|
||||||
help
|
help
|
||||||
Logging is implemented using puts instead of printf. Use it where printf
|
Logging is implemented using puts instead of printf. Use it where printf
|
||||||
might be too heavy. This also serves as an example for logging
|
might be too heavy. This also serves as an example for logging
|
||||||
implementation.
|
implementation.
|
||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config MODULE_LOG
|
||||||
|
bool
|
||||||
|
help
|
||||||
|
Modules that override the default log implementation shoul select this.
|
||||||
|
For more information see core/include/log.h.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user