Elektra
0.8.21
|
If Elektra should display all log messages, then please follow the steps below.
in the file src/libs/elektra/log.c
.
src/include/kdblogger.h
. For example, if you want to see debug messages too, then change the lineto
If you want to only log messages below a specific directory prefix, then please follow the steps below.
in the file src/libs/elektra/log.c
.
, where src/postfix
contains all source files with logging statements that Elektra should log. For example, if you want to log everything from the yamlcpp
plugin, then use the following code.
cmake
with the switch -DENABLE_LOGGER=ON
There are four log levels (ERROR is reserved for aborts within ELEKTRA_ASSERT
):