syslog.h File Reference
#include <lwip/netif.h>
#include <lwip/ip_addr.h>

Go to the source code of this file.

Functions

uint32_t syslog_count (void)
 Return the number of log message has been sent.
struct ip_addr syslog_ip (void)
 Get the current syslog server address, in lwip ip_address format.
void syslog_setIp (struct ip_addr addr)
 Change the current syslog server ip address.
int syslog_printf (const char *fmt,...)
 Print the log message on upd socket and serial if you configure the macro CONFIG_SYSLOG_SERIAL in cfg_syslog.h,.
void syslog_init (SysLog *syslog_ctx, struct ip_addr addr)
 Init the syslog message.

Detailed Description

Definition in file syslog.h.