Contiki-NG
|
Header file for the logging system. More...
Go to the source code of this file.
Functions | |
void | log_6addr (const uip_ipaddr_t *ipaddr) |
Logs an IPv6 address. | |
void | log_6addr_compact (const uip_ipaddr_t *ipaddr) |
Logs an IPv6 address with a compact format. | |
int | log_6addr_compact_snprint (char *buf, size_t size, const uip_ipaddr_t *ipaddr) |
Write at most size - 1 characters of the IP address to the output string, in a compact representation. | |
void | log_lladdr (const linkaddr_t *lladdr) |
Logs a link-layer address. | |
void | log_lladdr_compact (const linkaddr_t *lladdr) |
Logs a link-layer address with a compact format. | |
void | log_bytes (const void *data, size_t length) |
Logs a byte array as hex characters. | |
void | log_set_level (const char *module, int level) |
Sets a log level at run-time. | |
int | log_get_level (const char *module) |
Returns the current log level. | |
const char * | log_level_to_str (int level) |
Returns a textual description of a log level. | |
Header file for the logging system.
Definition in file log.h.