Skip to content
Snippets Groups Projects
Commit ea23cc83 authored by Grzegorz Sluja's avatar Grzegorz Sluja Committed by Anjan Chanda
Browse files

Handle debug level by libs in easy_soc_libs


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

Signed-off-by: default avatarGrzegorz Sluja <grzegorz.sluja@iopsys.eu>
parent de83ecc2
Branches
No related tags found
2 merge requests!67Devel,!45Handle debug level by libs in easy_soc_libs
Pipeline #3776 passed with warnings
Showing with 129 additions and 116 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment