#include <ctype.h>
#include <errno.h>
#include <unistd.h>
+#include <syslog.h>
#include <loc/libloc.h>
#include <loc/database.h>
if (err < 0)
exit(EXIT_FAILURE);
+ // Enable debug logging
+ loc_set_log_priority(ctx, LOG_DEBUG);
+
// Create an empty database
struct loc_writer* writer;
err = loc_writer_new(ctx, &writer, private_key1, private_key2);