Skip to content

Handle debug level by libs in easy_soc_libs

Grzegorz Sluja requested to merge debug_level_handling_by_easy_soc_lib into devel

LIBWIFI_DEBUG_LEVEL env variable is created and can be set/get by the ubus call. All libs in easy_soc_libs have been updated with new functions which are printed based on its level.

Debug_level is implemented with the following values (the same as the linux kernel's log level): ERR = 3 WARN = 4 INFO = 6 DBG = 7

@janusz @Marek @bartlomiej.grzeskowiak Please review

Signed-off-by: Grzegorz Sluja grzegorz.sluja@iopsys.eu

Merge request reports