samples: net: leds_demo: Convert to new logging system
Use new logging system with support for network log level. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
61cc71e4c1
commit
5ad399e0d1
|
@ -3,8 +3,6 @@ CONFIG_NETWORKING=y
|
|||
CONFIG_NET_IPV6=y
|
||||
CONFIG_NET_LOG=y
|
||||
CONFIG_NET_UDP=y
|
||||
CONFIG_SYS_LOG=y
|
||||
CONFIG_SYS_LOG_SHOW_COLOR=y
|
||||
CONFIG_ENTROPY_GENERATOR=y
|
||||
CONFIG_TEST_RANDOM_GENERATOR=y
|
||||
CONFIG_COAP=y
|
||||
|
|
|
@ -4,11 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#if 1
|
||||
#define SYS_LOG_DOMAIN "coap-server"
|
||||
#define NET_SYS_LOG_LEVEL SYS_LOG_LEVEL_DEBUG
|
||||
#define NET_LOG_ENABLED 1
|
||||
#endif
|
||||
#define LOG_MODULE_NAME net_leds_demo
|
||||
#define NET_LOG_LEVEL LOG_LEVEL_DBG
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue