zephyr/include/net
Tomasz Bursztyka a1aa08c288 net: ip: Improve logging by adding a dedicated sys_log level
Let's make net stack having its own level of debugging through sys_log.
It replaces NET_DEBUG by NET_LOG_ENABLED, which is then semantically
better: someone wanting to log the errors might want that not only for
debugging.

Along with it, CONFIG_NET_LOG_GLOBAL option is added, in order to enable
all available logging in network stack. It is disabled by default but
might be found useful when warning/errors need to be logged, so it is
then unnecessary to selectively enable by hand all CONFIG_NET_DEBUG_*
options.

It is possible, locally, to override CONFIG_SYS_LOG_NET_LEVEL by setting
the level one want to NET_SYS_LOG_LEVEL. This can be useful on samples
or tests.

Change-Id: I56a8f052340bc3a932229963cc69b39912093b88
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2017-01-02 10:03:20 +01:00
..
arp.h net: Refactored ARP packet header handling 2016-12-02 12:40:10 +02:00
buf.h net: buf: Change NET_BUF_DEBUG to NET_BUF_LOG and add a level option 2017-01-02 10:03:17 +01:00
dhcpv4.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
dns_client.h net: Restructure network protocols 2017-01-02 10:03:19 +01:00
ethernet.h net: l2: ethernet: Handle Ethernet II minimal frame size relevantly 2016-12-16 19:14:54 +01:00
http_parser.h net: Restructure network protocols 2017-01-02 10:03:19 +01:00
ieee802154.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
ieee802154_radio.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
mii.h net: Definitions for IEEE 802.3, Section 2 MII compatible PHY transceivers 2016-12-02 12:41:05 +02:00
mqtt.h net: Restructure network protocols 2017-01-02 10:03:19 +01:00
mqtt_types.h net: Restructure network protocols 2017-01-02 10:03:19 +01:00
nbuf.h net: nbuf: Let's remove inner type 2017-01-02 10:03:19 +01:00
net_context.h net: statistics: Make statistics calculation fully private 2017-01-02 10:03:18 +01:00
net_core.h net: ip: Improve logging by adding a dedicated sys_log level 2017-01-02 10:03:20 +01:00
net_event.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
net_if.h net: Fix stack info collector in net shell 2016-12-02 12:41:18 +02:00
net_ip.h net: ip: Improve logging by adding a dedicated sys_log level 2017-01-02 10:03:20 +01:00
net_l2.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
net_linkaddr.h net: Add ll address checker function 2016-12-02 12:40:19 +02:00
net_mgmt.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
net_stats.h net: statistics: Expose relevant information through net mgmt API 2017-01-02 10:03:18 +01:00
offload_ip.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
trickle.h net: Make native IP stack the default 2016-12-02 12:41:17 +02:00
zoap.h net: Restructure network protocols 2017-01-02 10:03:19 +01:00
zoap_link_format.h net: Restructure network protocols 2017-01-02 10:03:19 +01:00