logging: Add shell commands

Added commands for getting current status and controlling which log
messages are forwared to available backends.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2018-08-09 11:44:03 +02:00 committed by Anas Nashif
commit ba01a3952f
5 changed files with 462 additions and 6 deletions

View file

@ -104,7 +104,7 @@ u32_t log_src_cnt_get(u32_t domain_id);
* @param domain_id Domain ID.
* @param src_id Source ID.
*
* @return Source name.
* @return Source name or NULL if invalid arguments.
*/
const char *log_source_name_get(u32_t domain_id, u32_t src_id);