[riot-notifications] [RIOT-OS/RIOT] Add basic syslog implementation (#11362)

crest42 notifications at github.com
Mon May 27 13:14:54 CEST 2019

crest42 commented on this pull request.

> +#include <unistd.h>
+#include <time.h>
+#include <netdb.h>
+#define ENABLE_DEBUG (0)
+#include "debug.h"
+#include "syslog/syslog.h"
+#include "xtimer.h"
+static syslog_msg_t _msg[SYSLOG_BUF_NUMOF];
+static char _ident[IDENT_MAX_LEN];
+static char hostname[HOST_NAME_MAX];
+static mutex_t syslog_mutex = MUTEX_INIT;
+static int _facility = 0;

Ok, I was curious if there are any implications I am not aware of. Anyways, it should be at least consistent in my code. I will have a look into it (Maybe zero isn't even the best idea). Thanks for your feedback!

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190527/1c41a705/attachment.html>

More information about the notifications mailing list