commit | e85986e1533283e8cb0413eab13e7cec8bfc44b1 | [log] [tgz] |
---|---|---|
author | Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> | Fri Nov 16 14:33:29 2018 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Tue Nov 20 08:43:34 2018 -0500 |
tree | 1f8205c6f4de120499728b3612e1d5e6616f479e | |
parent | 57a6858278fbe4c180f98c2316d992207336040e [diff] |
logging: refactor log_filter_set to set existing log level Modified log_filter_set function to limit level if requested level is not compiled in. Additionally, extended function to return actually set level. Removed redundant code from log_cmds. Change fixes shell log backend initialization which was setting log levels without taking into account compiled in limits. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>